aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/ncdc
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-01-06 17:25:50 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-01-06 17:25:50 +0000
commit2cb3438f42145bfccc71ae5162b634c02772c3c7 (patch)
tree75c5848cd4c3c3a7808dc306b80de1121038341b /net-p2p/ncdc
parentb9df829c1a1dcf56eb467e1a904542a4114519f7 (diff)
downloadports-2cb3438f42145bfccc71ae5162b634c02772c3c7.tar.gz
ports-2cb3438f42145bfccc71ae5162b634c02772c3c7.zip
- Update to 1.7
- adjust patch target PR: ports/163785 Submitted by: maintainer, Dmitriy Limonov <earl1k at mail.ru> Approved by: crees (mentor)
Notes
Notes: svn path=/head/; revision=288637
Diffstat (limited to 'net-p2p/ncdc')
-rw-r--r--net-p2p/ncdc/Makefile10
-rw-r--r--net-p2p/ncdc/distinfo4
2 files changed, 8 insertions, 6 deletions
diff --git a/net-p2p/ncdc/Makefile b/net-p2p/ncdc/Makefile
index ced4bad8cd37..af216fc3216d 100644
--- a/net-p2p/ncdc/Makefile
+++ b/net-p2p/ncdc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ncdc
-PORTVERSION= 1.6
+PORTVERSION= 1.7
CATEGORIES= net-p2p
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://dev.yorhel.nl/download/
@@ -36,11 +36,13 @@ LDFLAGS+= -L/usr/lib -L${LOCALBASE}/lib
.if defined(WITH_GDBM)
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
PLIST_FILES+= bin/ncdc-db-upgrade
-.else
+.endif
+
post-patch:
@${REINPLACE_CMD} \
- -e '/#include <gdbm.h>/d' \
- ${WRKSRC}/src/fl_local.c
+ -e 's/\(GRegex \*nand\[fl_.*\)\]/\1+1]/' \
+ ${WRKSRC}/src/fl_util.c
+.if defined(WITHOUT_GDBM)
@${REINPLACE_CMD} \
-e '/have_gdbm=yes/d' \
${WRKSRC}/configure
diff --git a/net-p2p/ncdc/distinfo b/net-p2p/ncdc/distinfo
index 2ecef29a1be0..c08c17dec4bf 100644
--- a/net-p2p/ncdc/distinfo
+++ b/net-p2p/ncdc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ncdc-1.6.tar.gz) = 13d898455c5892364ff0769be76cc5fb188a801b08ba3a646e0ecf217db6ddfc
-SIZE (ncdc-1.6.tar.gz) = 304918
+SHA256 (ncdc-1.7.tar.gz) = 5198a88d797bcd246e9d33080b9e07ce747fd14e5146902175055676b6d8145f
+SIZE (ncdc-1.7.tar.gz) = 309915