add locale patch to honor LOCALE settings (so iso-2022-jp isn't required)

This commit is contained in:
dogcow 2009-11-10 10:23:15 +00:00
parent 9d9fd7cb9d
commit 3b0856c135
3 changed files with 20 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2008/08/23 07:47:00 obache Exp $
# $NetBSD: Makefile,v 1.18 2009/11/10 10:23:15 dogcow Exp $
#
DISTNAME= xjdic24
@ -19,6 +19,7 @@ DEPENDS+= edict-[0-9]*:../../misc/edict
DEPENDS+= kanjidic-[0-9]*:../../misc/kanjidic
PKG_DESTDIR_SUPPORT= user-destdir
.include "options.mk"
WRKSRC= ${WRKDIR}
MESSAGE_SUBST+= PREFIX=${PREFIX}

View file

@ -1,5 +1,8 @@
$NetBSD: distinfo,v 1.6 2006/01/03 16:00:57 joerg Exp $
$NetBSD: distinfo,v 1.7 2009/11/10 10:23:15 dogcow Exp $
SHA1 (xjdic-24.locale.patch) = fdd9a6d12a9c2098c315364ad79fe77527f8b43e
RMD160 (xjdic-24.locale.patch) = 3a7bd300f44e17f668213dd66dcb2fe3b377ff21
Size (xjdic-24.locale.patch) = 15750 bytes
SHA1 (xjdic24.tgz) = 732b2922c3e7229baedfb8be958dc3b92a8a06b8
RMD160 (xjdic24.tgz) = 25662aa7bd9538d00656983394e329a888ecfdf3
Size (xjdic24.tgz) = 140091 bytes

14
misc/xjdic/options.mk Normal file
View file

@ -0,0 +1,14 @@
# $NetBSD: options.mk,v 1.1 2009/11/10 10:23:15 dogcow Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xjdic
PKG_SUPPORTED_OPTIONS= xjdic-locale
PKG_SUGGESTED_OPTIONS= xjdic-locale
.include "../../mk/bsd.options.mk"
#die die die
.if !empty(PKG_OPTIONS:Mxjdic-locale)
PATCH_SITES= http://www.tzone.org/~vandry/xjdic/
PATCHFILES+= xjdic-24.locale.patch
.endif