diff options
author | ahoka <ahoka> | 2009-06-15 08:18:20 +0000 |
---|---|---|
committer | ahoka <ahoka> | 2009-06-15 08:18:20 +0000 |
commit | f152dbf62a5f1a64c6725a6b190968d706f6ec36 (patch) | |
tree | 6620543af0fa5ad820f7d8c69aef695e8dd25573 /x11/dmenu | |
parent | 0e909f3cbe71606ef3700498ad3edcbd0d2e81a3 (diff) | |
download | pkgsrc-f152dbf62a5f1a64c6725a6b190968d706f6ec36.tar.gz |
add options.mk
Diffstat (limited to 'x11/dmenu')
-rw-r--r-- | x11/dmenu/options.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/dmenu/options.mk b/x11/dmenu/options.mk new file mode 100644 index 00000000000..68200f2945d --- /dev/null +++ b/x11/dmenu/options.mk @@ -0,0 +1,24 @@ +# $NetBSD: options.mk,v 1.1 2009/06/15 08:18:20 ahoka Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.dmenu +PKG_SUPPORTED_OPTIONS= xinerama +PKG_SUGGESTED_OPTIONS= xinerama + +.include "../../mk/bsd.options.mk" + +# +# Xinerama support +# +# If we don't want the Xinerama support we delete XINERAMALIBS and +# XINERAMAFLAGS lines, otherwise the Xinerama support is the default. +# +.if !empty(PKG_OPTIONS:Mxinerama) +. include "../../x11/libXinerama/buildlink3.mk" +.else +SUBST_CLASSES+= options +SUBST_STAGE.options= pre-build +SUBST_MESSAGE.options= Toggle the Xinerama support +SUBST_FILES.options= config.mk +SUBST_SED.options+= -e '/^XINERAMA/ d' +. include "../../x11/libX11/buildlink3.mk" +.endif |