diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2021-06-10 19:05:47 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2021-06-10 19:05:47 +0000 |
commit | bb6f5678130c195f8e54756055c1c194a3ddf974 (patch) | |
tree | 554db6ed20e56ea12b77b0762adcc5ede3175bcf /wm | |
parent | c3ab945458ce16b2e3957031d28169c3eba5b01e (diff) | |
download | pkgsrc-bb6f5678130c195f8e54756055c1c194a3ddf974.tar.gz |
blackbox: add options.mk missed in migration from blackbox70
Diffstat (limited to 'wm')
-rw-r--r-- | wm/blackbox/options.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/wm/blackbox/options.mk b/wm/blackbox/options.mk new file mode 100644 index 00000000000..0f032ce4a8a --- /dev/null +++ b/wm/blackbox/options.mk @@ -0,0 +1,27 @@ +# $NetBSD: options.mk,v 1.1 2021/06/10 19:05:47 gutteridge Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.blackbox70 +PKG_SUPPORTED_OPTIONS= nls xft2 +PKG_SUGGESTED_OPTIONS= nls xft2 + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= nls + +# The nls option also controls whether the fr/ja/nl/sl man pages are +# installed. +.if !empty(PKG_OPTIONS:Mnls) +BROKEN_GETTEXT_DETECTION= yes +CONFIGURE_ARGS+= --enable-nls +.include "../../devel/gettext-lib/buildlink3.mk" +PLIST.nls= yes +.else +CONFIGURE_ARGS+= --disable-nls +.endif + +.if !empty(PKG_OPTIONS:Mxft2) +CONFIGURE_ARGS+= --enable-xft +.include "../../x11/libXft/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-xft +.endif |