aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/dctc/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-02-19 17:25:51 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-02-19 17:25:51 +0000
commitcd7e092e4956578ad1b601d1555a81a450f6bad0 (patch)
treee5e92ed5c089da324114cb6aef6f888b20af23bd /net-p2p/dctc/Makefile
parent2a8d11c995d8e7f01836bdbe865c1407de659ea2 (diff)
downloadports-cd7e092e4956578ad1b601d1555a81a450f6bad0.tar.gz
ports-cd7e092e4956578ad1b601d1555a81a450f6bad0.zip
Notes
Diffstat (limited to 'net-p2p/dctc/Makefile')
-rw-r--r--net-p2p/dctc/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index 2cd4b0bc2b6d..cfbc14b56f06 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: