aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/dctc/Makefile16
-rw-r--r--net-p2p/dctc/distinfo2
-rw-r--r--net/dctc/Makefile16
-rw-r--r--net/dctc/distinfo2
4 files changed, 20 insertions, 16 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index 2cd4b0bc2b6..cfbc14b56f0 100644
--- a/net-p2p/dctc/Makefile
+++ b/net-p2p/dctc/Makefile
@@ -6,20 +6,22 @@
#
PORTNAME= dctc
-PORTVERSION= 0.69
+PORTVERSION= 0.71.1
CATEGORIES= net
MASTER_SITES= http://ac2i.tzo.com/dctc/
-DISTNAME= ${PORTNAME}-${PORTVERSION}.0
+DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
+ glib-1.3.13:${PORTSDIR}/devel/glib13
-USE_GLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/glib-2.0" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lglib-1.3"
+
DOC_DIRS= Documentation Documentation/DCextensions
DOC_FILES= COPYING ChangeLog INSTALL README \
KNOWN_BUGS TODO \
@@ -37,7 +39,7 @@ post-patch:
@${PERL} -pi -e 's/(CK?\()inet_ntoa(\))/\1shared_info\2/' ${WRKSRC}/src/*
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${PERL} -pi -e \
's|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|'
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|' \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_CFLAGS} -lgthread-1.3 ${PTHREAD_LIBS}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
post-configure:
diff --git a/net-p2p/dctc/distinfo b/net-p2p/dctc/distinfo
index 0eb723acb4d..ad1cb916ec9 100644
--- a/net-p2p/dctc/distinfo
+++ b/net-p2p/dctc/distinfo
@@ -1 +1 @@
-MD5 (dctc-0.69.0.tar.gz) = cb09f39d71606613d1c7d79f1d21d4fa
+MD5 (dctc-0.71.1.tar.gz) = ca37c2de434693c989648d465d4b4e04
diff --git a/net/dctc/Makefile b/net/dctc/Makefile
index 2cd4b0bc2b6..cfbc14b56f0 100644
--- a/net/dctc/Makefile
+++ b/net/dctc/Makefile
@@ -6,20 +6,22 @@
#
PORTNAME= dctc
-PORTVERSION= 0.69
+PORTVERSION= 0.71.1
CATEGORIES= net
MASTER_SITES= http://ac2i.tzo.com/dctc/
-DISTNAME= ${PORTNAME}-${PORTVERSION}.0
+DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
+ glib-1.3.13:${PORTSDIR}/devel/glib13
-USE_GLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
+ -I${LOCALBASE}/include/glib-2.0" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lglib-1.3"
+
DOC_DIRS= Documentation Documentation/DCextensions
DOC_FILES= COPYING ChangeLog INSTALL README \
KNOWN_BUGS TODO \
@@ -37,7 +39,7 @@ post-patch:
@${PERL} -pi -e 's/(CK?\()inet_ntoa(\))/\1shared_info\2/' ${WRKSRC}/src/*
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${PERL} -pi -e \
's|include.+<linux/sem.h>|include <sys/ipc.h>\n#include <sys/sem.h>|'
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|' \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_CFLAGS} -lgthread-1.3 ${PTHREAD_LIBS}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
post-configure:
diff --git a/net/dctc/distinfo b/net/dctc/distinfo
index 0eb723acb4d..ad1cb916ec9 100644
--- a/net/dctc/distinfo
+++ b/net/dctc/distinfo
@@ -1 +1 @@
-MD5 (dctc-0.69.0.tar.gz) = cb09f39d71606613d1c7d79f1d21d4fa
+MD5 (dctc-0.71.1.tar.gz) = ca37c2de434693c989648d465d4b4e04