diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2007-03-07 15:39:06 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2007-03-07 15:39:06 +0000 |
commit | 9251fb7869e8cc3e69d95c7e10eb2cdd6a057249 (patch) | |
tree | a1b382d7ff2afaad6939eb082901a10c0d16c02c /sysutils/xfce4-utils/Makefile | |
parent | fd34ff3032e6654c03067cbbb2a2d10d1b4b4f47 (diff) | |
download | ports-9251fb7869e8cc3e69d95c7e10eb2cdd6a057249.tar.gz ports-9251fb7869e8cc3e69d95c7e10eb2cdd6a057249.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
Notes
Notes:
svn path=/head/; revision=186818
Diffstat (limited to 'sysutils/xfce4-utils/Makefile')
-rw-r--r-- | sysutils/xfce4-utils/Makefile | 10 |
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> |