summaryrefslogtreecommitdiff
path: root/net-p2p/dctc-gui/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-04 18:04:54 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-04 18:04:54 +0000
commitfc484b06d94c1d8b6bfb9435ad1d12e00d2c9302 (patch)
tree02d99908b6f94b27ad706f9881a877264f50e134 /net-p2p/dctc-gui/Makefile
parento Update to 0.83.2 (diff)
Update to 0.59
Notes
Notes: svn path=/head/; revision=63984
Diffstat (limited to 'net-p2p/dctc-gui/Makefile')
-rw-r--r--net-p2p/dctc-gui/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile
index d3b7bb6cc30f..b07bc154e5f7 100644
--- a/net-p2p/dctc-gui/Makefile
+++ b/net-p2p/dctc-gui/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.58
+PORTVERSION= 0.59
CATEGORIES= net gnome
MASTER_SITES= http://ac2i.tzo.com/dctc/
PKGNAMESUFFIX= -gui
@@ -22,6 +22,7 @@ LIB_DEPENDS= ORBit.2:${PORTSDIR}/devel/ORBit \
USE_GNOMELIBS= yes
USE_GTK= yes
USE_XLIB= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-gnome=${X11BASE} \
@@ -41,6 +42,8 @@ post-patch:
@${PERL} -pi -e 's|(<stdio.h>.*)$$|\1\n#include <config.h>|; \
s|(cmdline.+)(hublist)|\1dc_\2|' \
${WRKSRC}/src/init_fnc.c
+# XXX - revise at every port update
+ @${REINPLACE_CMD} -e "s|%'|%|" ${WRKSRC}/src/*.c
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h