summaryrefslogtreecommitdiff
path: root/x11/windowmaker
diff options
context:
space:
mode:
authortron <tron>1999-02-15 19:30:33 +0000
committertron <tron>1999-02-15 19:30:33 +0000
commit8c723a4b564f47d5698dbac1ed37b8db137c696a (patch)
treea30717de7ea5aba7eb0ed019bc45bb4b6e00c930 /x11/windowmaker
parent8fbe1e39096c38ebacd26145e7139f2ccf1ebaf7 (diff)
downloadpkgsrc-8c723a4b564f47d5698dbac1ed37b8db137c696a.tar.gz
Don't hard code "--enable-gnome" and "--enable-kde" as configuration
options. Instead fix handling of "${WINDOWMAKER_OPTIONS}" and set its default to "gnome kde".
Diffstat (limited to 'x11/windowmaker')
-rw-r--r--x11/windowmaker/Makefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/x11/windowmaker/Makefile b/x11/windowmaker/Makefile
index 723da4eedf2..da8ce013b37 100644
--- a/x11/windowmaker/Makefile
+++ b/x11/windowmaker/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 1999/02/15 15:00:50 tron Exp $
+# $NetBSD: Makefile,v 1.22 1999/02/15 19:30:33 tron Exp $
DISTNAME= WindowMaker-0.51.0
PKGNAME= windowmaker-0.51.0
@@ -27,7 +27,17 @@ CONFIGURE_ARGS+= --with-nlsdir=${PREFIX}/share/locale \
--with-gfx-incs="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/giflib" \
--with-gfx-libs=-L${LOCALBASE}/lib \
- --enable-modelock --enable-gnome --enable-kde
+ --enable-modelock
+
+# WINDOWMAKER_OPTIONS is a space-separated list of compile-time options
+# to support. Currently supported options:
+#
+# kde enable support for kde/kwm window manager hints
+# gnome enable support for GNOME window manager hints
+# openlook enable support for OPEN LOOK(tm) window manager hints
+# lite remove Window Maker redundancies with KDE
+#
+WINDOWMAKER_OPTIONS?= gnome kde
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -61,20 +71,6 @@ CONFIGURE_ARGS+= --enable-kanji
.endif # ENABLE_WM_KANJI
.endif # LINGUAS
-# WINDOWMAKER_OPTIONS is a space-separated list of compile-time options
-# to support. Currently supported options:
-#
-# kde enable support for kde/kwm window manager hints
-# gnome enable support for GNOME window manager hints
-# openlook enable support for OPEN LOOK(tm) window manager hints
-# lite remove Window Maker redundancies with KDE
-#
-# Default: not defined
-#
-.for option in ${WINDOWMAKER_OPTIONS}
-CONFIGURE_ARGS+= --enable-${option}
-.endfor
-
post-extract:
${RM} -f ${WRKDIR}/WindowMaker-data/pixmaps/tile.xpm
@@ -105,3 +101,7 @@ post-install:
.endif
.include "../../mk/bsd.pkg.mk"
+
+.for OPTION in ${WINDOWMAKER_OPTIONS}
+CONFIGURE_ARGS+= --enable-${OPTION}
+.endfor