aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xfce4-utils
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2007-03-07 23:39:06 +0800
committeroliver <oliver@FreeBSD.org>2007-03-07 23:39:06 +0800
commit175ec0f61bb0c83ef45f7c254b74974240630cc2 (patch)
treea290c0d064e34308f22900490927c2479eeec980 /sysutils/xfce4-utils
parentef818aa6c55014408380995ad57be85e140b82c6 (diff)
downloadfreebsd-ports-gnome-175ec0f61bb0c83ef45f7c254b74974240630cc2.tar.gz
freebsd-ports-gnome-175ec0f61bb0c83ef45f7c254b74974240630cc2.tar.zst
freebsd-ports-gnome-175ec0f61bb0c83ef45f7c254b74974240630cc2.zip
don't specify ${LOCALBASE}/share twice for XDG_DATA_DIRS in startxfce4
Noted by: Albertas Mickenas <albertas@megalogika.lt>, Tomas Verbaitis <tomasv@megalogika.lt> PR: ports/110004
Diffstat (limited to 'sysutils/xfce4-utils')
-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>