2015-11-11 17:13:12 +01:00
|
|
|
# $NetBSD: options.mk,v 1.3 2015/11/11 16:13:12 leot Exp $
|
2009-06-15 10:18:20 +02:00
|
|
|
|
|
|
|
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
|
2015-11-11 17:13:12 +01:00
|
|
|
SUBST_STAGE.options= pre-patch
|
2009-06-15 10:18:20 +02:00
|
|
|
SUBST_MESSAGE.options= Toggle the Xinerama support
|
|
|
|
SUBST_FILES.options= config.mk
|
2012-01-22 13:59:01 +01:00
|
|
|
SUBST_SED.options+= -e '/^XINERAMA/d'
|
2009-06-15 10:18:20 +02:00
|
|
|
.endif
|