aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-01-07 01:25:50 +0800
committerjgh <jgh@FreeBSD.org>2012-01-07 01:25:50 +0800
commit0cafa8f969ac330d08f3576971ac3acf636bcf5f (patch)
treec0b3cecc78369c1c52d0925635d41e0b016b64be
parent470db70a40ebcf7662c665b8c9b53aef1548bfcf (diff)
downloadfreebsd-ports-gnome-0cafa8f969ac330d08f3576971ac3acf636bcf5f.tar.gz
freebsd-ports-gnome-0cafa8f969ac330d08f3576971ac3acf636bcf5f.tar.zst
freebsd-ports-gnome-0cafa8f969ac330d08f3576971ac3acf636bcf5f.zip
- Update to 1.7
- adjust patch target PR: ports/163785 Submitted by: maintainer, Dmitriy Limonov <earl1k at mail.ru> Approved by: crees (mentor)
-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