diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2007-01-19 14:02:39 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2007-01-19 14:02:39 +0000 |
commit | cab8779a45edcb9f5b44844f603371a8d4597210 (patch) | |
tree | e0212f2b9089e0a46ef5ca35127e31bb55c9becc /lang | |
parent | 07be83e881e381e76b0907f05bf8421cc3c1fe03 (diff) | |
download | pkgsrc-cab8779a45edcb9f5b44844f603371a8d4597210.tar.gz |
Try to inform legacy variables / options. Minor cleanups.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gauche/options.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/gauche/options.mk b/lang/gauche/options.mk index 369ea961052..2790cb34b39 100644 --- a/lang/gauche/options.mk +++ b/lang/gauche/options.mk @@ -1,10 +1,12 @@ -# $NetBSD: options.mk,v 1.5 2007/01/19 12:59:01 uebayasi Exp $ +# $NetBSD: options.mk,v 1.6 2007/01/19 14:02:39 uebayasi Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gauche PKG_OPTIONS_OPTIONAL_GROUPS= multibyte PKG_OPTIONS_GROUP.multibyte= utf8 eucjp sjis PKG_SUPPORTED_OPTIONS= gdbm PKG_SUGGESTED_OPTIONS= gdbm utf8 +PKG_OPTIONS_LEGACY_VARS+= GAUCHE_MULTIBYTE:utf8 +PKG_OPTIONS_LEGACY_OPTS+= multibyte:utf8 .include "../../mk/bsd.options.mk" @@ -25,14 +27,14 @@ PLIST_SUBST+= USE_GDBM='@comment ' ### ### Multibyte extension. ### -.for __encoding in utf8 eucjp sjis -.if !empty(PKG_OPTIONS:M${__encoding}) -CONFIGURE_ARGS+= --enable-multibyte=${__encoding} +.for encoding in utf8 eucjp sjis +.if !empty(PKG_OPTIONS:M${encoding}) +CONFIGURE_ARGS+= --enable-multibyte=${encoding} .endif .endfor .if defined(PKG_DEVELOPER) .PHONY: print-multibyte-options print-multibyte-options: - ${SED} -ne '/load "/ { s|^.*load "\([^"]*\)".*$|\1|; p; }' ${WRKSRC}/test/mb-chars.scm + ${SED} -ne '/load "/ { s,^.*load "\([^"]*\)".*$$,\1,; p; }' ${WRKSRC}/test/mb-chars.scm .endif |