summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authormartin <martin>2002-05-04 20:06:39 +0000
committermartin <martin>2002-05-04 20:06:39 +0000
commit7b596b734cf29d557911fba81c8327781ea823f6 (patch)
treef9720dcd87b065b7ae04c4a4f84521c8b9fc86bf /wm
parentfd40c38ba04167bcd22cf1e4a297d519404769d5 (diff)
downloadpkgsrc-7b596b734cf29d557911fba81c8327781ea823f6.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"