summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2002-05-04 20:06:39 +0000
committermartin <martin@pkgsrc.org>2002-05-04 20:06:39 +0000
commit02a2f9c142dca72a0834e564399c44ab6cf1715e (patch)
treef9720dcd87b065b7ae04c4a4f84521c8b9fc86bf /wm
parentfc037348f6ddfcf92b8f78ca9a4638a38e83ebec (diff)
downloadpkgsrc-02a2f9c142dca72a0834e564399c44ab6cf1715e.tar.gz
Make the gnome version of icewm autodetect it's running under gnome
by default.
Diffstat (limited to 'wm')
-rw-r--r--wm/icewm-gnome/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/wm/icewm-gnome/Makefile b/wm/icewm-gnome/Makefile
index 60dbb28c6fd..81442befddb 100644
--- a/wm/icewm-gnome/Makefile
+++ b/wm/icewm-gnome/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/03/13 17:37:47 fredb Exp $
+# $NetBSD: Makefile,v 1.11 2002/05/04 20:06:39 martin Exp $
PKGNAME= ${DISTNAME:S/-/-gnome-/:S/-2/.2/}
PKGREVISION= 1
@@ -13,6 +13,12 @@ USE_BUILDLINK_ONLY= # defined
CONFIGURE_ARGS+= --with-gnome-menus="${GNOME_CONFIG}"
CONFIGURE_ARGS+= --with-imlib
+pre-configure:
+ cd ${WRKSRC}; \
+ ${MV} src/default.h src/default.h.orig; \
+ ${SED} 's/XIV(bool, autoDetectGnome, false)/XIV(bool, autoDetectGnome, true)/' \
+ < src/default.h.orig > src/default.h
+
.include "../../x11/gnome-libs/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"