summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-control-center1/Makefile6
-rw-r--r--sysutils/gnome-control-center1/files/patch-ce2
2 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/gnome-control-center1/Makefile b/sysutils/gnome-control-center1/Makefile
index 463b52536..a329f019a 100644
--- a/sysutils/gnome-control-center1/Makefile
+++ b/sysutils/gnome-control-center1/Makefile
@@ -3,7 +3,7 @@
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-control-center1/Makefile,v 1.1 2007/05/03 03:58:26 mezz Exp $
+# $MCom: ports/sysutils/gnome-control-center1/Makefile,v 1.2 2007/05/19 21:36:22 marcus Exp $
#
PORTNAME= gnome-control-center
@@ -30,4 +30,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LATEST_LINK= gnome-control-center1
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/capplets/wm-properties/wm-desktops/WindowMaker.desktop
+
.include <bsd.port.mk>
diff --git a/sysutils/gnome-control-center1/files/patch-ce b/sysutils/gnome-control-center1/files/patch-ce
index b2186ac89..8fbfc41ab 100644
--- a/sysutils/gnome-control-center1/files/patch-ce
+++ b/sysutils/gnome-control-center1/files/patch-ce
@@ -5,4 +5,4 @@
[Window Manager]
SessionManaged=false
-ConfigExec=/usr/X11R6/lib/GNUstep/Apps/WPrefs.app/WPrefs
-+ConfigExec=/usr/X11R6/share/GNUstep/Apps/WPrefs.app/WPrefs
++ConfigExec=/usr/local/share/GNUstep/Apps/WPrefs.app/WPrefs