diff options
author | bsiegert <bsiegert> | 2012-04-17 17:13:01 +0000 |
---|---|---|
committer | bsiegert <bsiegert> | 2012-04-17 17:13:01 +0000 |
commit | 25bc5fb7595178a480afcfea44baf6dd4ba65497 (patch) | |
tree | 04985ae4defecd5e5fa7c6574417a5d74e68f162 /wm/fluxbox/options.mk | |
parent | 4cc521d5c9bb78acf6d0d32141626dde276744a2 (diff) | |
download | pkgsrc-25bc5fb7595178a480afcfea44baf6dd4ba65497.tar.gz |
Add "nls" option, defaults to on all systems except MirBSD. MirBSD does not
have gencat, which is needed for nls support.
ok wiz, no reply from maintainer.
Diffstat (limited to 'wm/fluxbox/options.mk')
-rw-r--r-- | wm/fluxbox/options.mk | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/wm/fluxbox/options.mk b/wm/fluxbox/options.mk index edf505a24e6..55832f1c683 100644 --- a/wm/fluxbox/options.mk +++ b/wm/fluxbox/options.mk @@ -1,11 +1,17 @@ -# $NetBSD: options.mk,v 1.5 2007/01/15 17:41:28 tonio Exp $ +# $NetBSD: options.mk,v 1.6 2012/04/17 17:13:01 bsiegert Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.fluxbox -PKG_SUPPORTED_OPTIONS= gnome kde imlib2 xft xrender +PKG_SUPPORTED_OPTIONS= gnome kde imlib2 xft xrender nls PKG_SUGGESTED_OPTIONS= xrender .include "../../mk/bsd.options.mk" +.if ${OPSYS} != "MirBSD" +PKG_SUGGESTED_OPTIONS+= nls +.endif + +PLIST_VARS+= nls + .if !empty(PKG_OPTIONS:Mgnome) CONFIGURE_ARGS+= --enable-gnome .else @@ -38,3 +44,11 @@ CONFIGURE_ARGS+= --enable-xrender .else CONFIGURE_ARGS+= --disable-xrender .endif + +.if !empty(PKG_OPTIONS:Mnls) +CONFIGURE_ARGS+= --enable-nls +.include "../../converters/libiconv/buildlink3.mk" +PLIST.nls= Yes +.else +CONFIGURE_ARGS+= --disable-nls +.endif |