diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-06-15 08:17:43 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-06-15 08:17:43 +0000 |
commit | 6bfb184cd790f03eede6be7c6aae011f59fc97d1 (patch) | |
tree | de6b3f651b98d2b88fdd643bfe4e499523dc7360 /wm | |
parent | 28f5bf994e84974013879a81f2bd6fc0a94a1ae1 (diff) | |
download | pkgsrc-6bfb184cd790f03eede6be7c6aae011f59fc97d1.tar.gz |
Add options.mk.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/dwm/options.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/wm/dwm/options.mk b/wm/dwm/options.mk new file mode 100644 index 00000000000..7064cda29eb --- /dev/null +++ b/wm/dwm/options.mk @@ -0,0 +1,24 @@ +# $NetBSD: options.mk,v 1.1 2009/06/15 08:17:43 ahoka Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.dwm +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 |