diff options
author | tron <tron@pkgsrc.org> | 1999-02-15 19:30:33 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-02-15 19:30:33 +0000 |
commit | 724ec3e7869568ca530f39dfec1a376e55affbe3 (patch) | |
tree | a30717de7ea5aba7eb0ed019bc45bb4b6e00c930 /x11 | |
parent | 2c9cc4246ecc47812f8a50ab9dfcf47f2039da29 (diff) | |
download | pkgsrc-724ec3e7869568ca530f39dfec1a376e55affbe3.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')
-rw-r--r-- | x11/windowmaker/Makefile | 32 |
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 |