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 | 71a4ea814b01abc3cf92ebbc845fbe0df2dbc23d (patch) | |
tree | e0212f2b9089e0a46ef5ca35127e31bb55c9becc /lang/gauche | |
parent | 78cf63ead1b79834713727c056c7fc8e2a1bf8e7 (diff) | |
download | pkgsrc-71a4ea814b01abc3cf92ebbc845fbe0df2dbc23d.tar.gz |
Try to inform legacy variables / options. Minor cleanups.
Diffstat (limited to 'lang/gauche')
-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 |