aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-01 06:20:22 +0800
committerlioux <lioux@FreeBSD.org>2002-04-01 06:20:22 +0800
commitcd3cdd80ec8629b25f5152bea17ef5a40199b947 (patch)
treeb283abc5288eb019ec7619b678ca05c01bfa0d99 /net-p2p
parentcec90517050eeb8af5a408c9046e4d087d66af29 (diff)
downloadfreebsd-ports-gnome-cd3cdd80ec8629b25f5152bea17ef5a40199b947.tar.gz
freebsd-ports-gnome-cd3cdd80ec8629b25f5152bea17ef5a40199b947.tar.zst
freebsd-ports-gnome-cd3cdd80ec8629b25f5152bea17ef5a40199b947.zip
Update to 0.51
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/dctc-gui/Makefile8
-rw-r--r--net-p2p/dctc-gui/distinfo2
2 files changed, 7 insertions, 3 deletions
diff --git a/net-p2p/dctc-gui/Makefile b/net-p2p/dctc-gui/Makefile
index e17cee416572..8fe0e7a9191f 100644
--- a/net-p2p/dctc-gui/Makefile
+++ b/net-p2p/dctc-gui/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dctc
-PORTVERSION= 0.48
-PORTREVISION= 1
+PORTVERSION= 0.51
CATEGORIES= net gnome
MASTER_SITES= http://ac2i.tzo.com/dctc/
PKGNAMESUFFIX= -gui
@@ -17,6 +16,7 @@ MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= dctc:${PORTSDIR}/net/dctc
LIB_DEPENDS= ORBit.2:${PORTSDIR}/devel/ORBit \
+ db4.0:${PORTSDIR}/databases/db4 \
iconv.3:${PORTSDIR}/converters/libiconv \
intl.1:${PORTSDIR}/devel/gettext-old
@@ -34,11 +34,15 @@ DOC_FILES= COPYING ChangeLog README
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${PERL} -pi -e \
's|(\$$\(datadir\))/gnome|\1|; \
+ s|ldb-4.0|ldb4|; \
s|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|'
@${PERL} -pi -e 's|(hublist)|dc_\1|m' ${WRKSRC}/configure
@${PERL} -pi -e 's|(<stdio.h>.*)$$|\1\n#include <config.h>|; \
s|(cmdline.+)(hublist)|\1dc_\2|' \
${WRKSRC}/src/init_fnc.c
+.for file in bdb.c callbacks.c main.c
+ @${PERL} -pi -e 's|<(db.h>)|<db4/\1|' ${WRKSRC}/src/${file}
+.endfor
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
diff --git a/net-p2p/dctc-gui/distinfo b/net-p2p/dctc-gui/distinfo
index 46db0827ae54..ae40941cb04a 100644
--- a/net-p2p/dctc-gui/distinfo
+++ b/net-p2p/dctc-gui/distinfo
@@ -1 +1 @@
-MD5 (dc_gui-0.48.tar.gz) = 88aac966b87559f3e4c4dc69d3a2df5e
+MD5 (dc_gui-0.51.tar.gz) = 5bf9b8e66fd50f1d940b910258542e40