aboutsummaryrefslogtreecommitdiffstats
path: root/irc/xchat-systray-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/xchat-systray-plugin/Makefile')
-rw-r--r--irc/xchat-systray-plugin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/irc/xchat-systray-plugin/Makefile b/irc/xchat-systray-plugin/Makefile
index bdcb148fe805..3db9c49fe8f3 100644
--- a/irc/xchat-systray-plugin/Makefile
+++ b/irc/xchat-systray-plugin/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xchat-systray-plugin
PORTVERSION= 2.4.5
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xchat2-plugins
@@ -24,6 +24,8 @@ USE_GNOME= gtk20
post-patch:
@${REINPLACE_CMD} -e 's|-Os|${CFLAGS} -fPIC|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/src/systray.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/systray.so ${PREFIX}/lib/xchat/plugins/