summaryrefslogtreecommitdiff
path: root/net/ntop/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2005-03-21 12:42:45 +0000
committeradam <adam@pkgsrc.org>2005-03-21 12:42:45 +0000
commit0ba0798723604e766323cd837bfbd1a5ecb34c53 (patch)
treedcaae3c63d3d96abfb63b9fb55151780572f92e0 /net/ntop/Makefile
parent390b305d7e6d36f03ef5fef4dec3be4fbfb9a718 (diff)
downloadpkgsrc-0ba0798723604e766323cd837bfbd1a5ecb34c53.tar.gz
Optionally disable threading; work around for PR#29323
Diffstat (limited to 'net/ntop/Makefile')
-rw-r--r--net/ntop/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 2b7e6d62d11..7916cc84969 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2005/01/26 16:41:02 tv Exp $
+# $NetBSD: Makefile,v 1.35 2005/03/21 12:42:45 adam Exp $
DISTNAME= ntop-3.1
PKGREVISION= 3
@@ -32,15 +32,17 @@ CONFIGURE_ARGS+= --with-zlib-root=${BUILDLINK_PREFIX.zlib}
# ntop-3.x crashes with IPv6
CONFIGURE_ARGS+= --disable-ipv6
-PTHREAD_OPTS+= require
-
BUILDLINK_DEPENDS.libpcap+= libpcap>=0.8.3
+.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+CONFIGURE_ARGS+= --disable-mt
+.endif
+
.include "../../databases/gdbm/buildlink3.mk"
.include "../../graphics/gdchart/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/gdome2/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"