diff options
author | sakamoto <sakamoto@pkgsrc.org> | 2000-05-01 14:20:15 +0000 |
---|---|---|
committer | sakamoto <sakamoto@pkgsrc.org> | 2000-05-01 14:20:15 +0000 |
commit | ca8658a065609345902e999ef5aa005b9cb62f2b (patch) | |
tree | e7a23e1738ca311b8fa950f810d75cf63f1ae2ce | |
parent | cbd70cdf13316ef06e49ce2563eed7527e13e3fa (diff) | |
download | pkgsrc-ca8658a065609345902e999ef5aa005b9cb62f2b.tar.gz |
Fix to set CANNA_OPT with euc-jp,sjis,iso-2022-jp encoding.
Suggested by iwamoto@sat.t.u-tokyo.ac.jp.
-rw-r--r-- | editors/nvi-m17n/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile index 9e1e7e2a079..5c08a06bb19 100644 --- a/editors/nvi-m17n/Makefile +++ b/editors/nvi-m17n/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2000/04/30 15:01:45 sakamoto Exp $ +# $NetBSD: Makefile,v 1.8 2000/05/01 14:20:15 sakamoto Exp $ # FreeBSD Id: Makefile,v 1.11 1999/04/17 10:51:03 itojun Exp DISTNAME= nvi-1.79 @@ -27,7 +27,9 @@ PATCH_FUZZ_FACTOR= -F1 .if !defined(USE_CANNA) || ${USE_CANNA} == YES DEPENDS+= Canna-lib-3.5b2:../../japanese/canna-lib CONFIGURE_ARGS+=--enable-canna=${LOCALBASE} -CANNA_OPT= canna cannactrl cannakey= +CANNA_OPT.euc-jp=canna cannactrl cannakey= +CANNA_OPT.sjis=${CANNA_OPT.euc-jp} +CANNA_OPT.iso-2022-jp=${CANNA_OPT.euc-jp} .endif PLIST_TMP= ${WRKDIR}/PLIST @@ -55,7 +57,7 @@ ENCODING+= euc-jp euc-cn euc-kr sjis big5 euc-tw hz post-build: .for encoding in ${ENCODING} - @${SED} -e 's|$${CANNA_OPT}|${CANNA_OPT}|' \ + @${SED} -e 's|$${CANNA_OPT}|${CANNA_OPT.${encoding}}|' \ -e 's|$${AUTODETECT}|${AUTODETECT.${encoding}}|' \ -e 's|$${ENCODING}|${encoding}|g' \ -e 's|$${PREFIX}|${PREFIX}|' \ |