summaryrefslogtreecommitdiff
path: root/wm/icewm-gnome
diff options
context:
space:
mode:
authormartin <martin>2002-05-04 20:06:39 +0000
committermartin <martin>2002-05-04 20:06:39 +0000
commitb06bd0879051fc11c22b62ebba9c60af34fe17ac (patch)
treef9720dcd87b065b7ae04c4a4f84521c8b9fc86bf /wm/icewm-gnome
parent4b38a2e775d4e2bf680ce7528a5370e9fce55cc9 (diff)
downloadpkgsrc-b06bd0879051fc11c22b62ebba9c60af34fe17ac.tar.gz
Make the gnome version of icewm autodetect it's running under gnome
by default.
Diffstat (limited to 'wm/icewm-gnome')
-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"