aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/xfce4-utils/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/xfce4-utils/Makefile b/sysutils/xfce4-utils/Makefile
index 376912feb84a..70f05305e8a7 100644
--- a/sysutils/xfce4-utils/Makefile
+++ b/sysutils/xfce4-utils/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xfce4-utils
PORTVERSION= 4.4.0
+PORTREVISION= 1
CATEGORIES= sysutils xfce
MASTER_SITES= ${MASTER_SITES_XFCE}
DISTNAME= xfce-utils-${PORTVERSION}
@@ -38,4 +39,13 @@ CONFIGURE_ARGS+=--disable-dbus
PLIST_SUB+= WITH_DBUS="@comment "
.endif
+post-patch:
+.if ${X11BASE} != ${LOCALBASE}
+ @${REINPLACE_CMD} 's|/usr/local/share:|${X11BASE}/share:|' \
+ ${WRKSRC}/scripts/startxfce4.in
+.else
+ @${REINPLACE_CMD} 's|/usr/local/share:||' \
+ ${WRKSRC}/scripts/startxfce4.in
+.endif
+
.include <bsd.port.post.mk>