summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/dctc/Makefile7
-rw-r--r--net/dctc/Makefile7
2 files changed, 10 insertions, 4 deletions
diff --git a/net-p2p/dctc/Makefile b/net-p2p/dctc/Makefile
index 1d1b061..6cabda0 100644
--- a/net-p2p/dctc/Makefile
+++ b/net-p2p/dctc/Makefile
@@ -15,12 +15,15 @@ MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
- glib-1.3.14:${PORTSDIR}/devel/glib13
+ gthread-2.0.0:${PORTSDIR}/devel/glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
+ ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include/glib-2.0" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lglib-1.3"
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt \
+ ${PTHREAD_LIBS} \
+ -lgthread-2.0"
DOC_DIRS= Documentation Documentation/DCextensions
DOC_FILES= COPYING ChangeLog INSTALL README \
diff --git a/net/dctc/Makefile b/net/dctc/Makefile
index 1d1b061..6cabda0 100644
--- a/net/dctc/Makefile
+++ b/net/dctc/Makefile
@@ -15,12 +15,15 @@ MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
- glib-1.3.14:${PORTSDIR}/devel/glib13
+ gthread-2.0.0:${PORTSDIR}/devel/glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
+ ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include/glib-2.0" \
- LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lglib-1.3"
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt \
+ ${PTHREAD_LIBS} \
+ -lgthread-2.0"
DOC_DIRS= Documentation Documentation/DCextensions
DOC_FILES= COPYING ChangeLog INSTALL README \
OpenPOWER on IntegriCloud