summaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2009-09-26 05:58:27 +0000
committertaca <taca@pkgsrc.org>2009-09-26 05:58:27 +0000
commit94ae74315f674ee46c7c0db797f7e22ae07752d6 (patch)
tree01c57da092c2f094931bcad4edaf240595dca5e1 /net/ntop
parent30287f9b1139298dba4592182a014abac09783cc (diff)
downloadpkgsrc-94ae74315f674ee46c7c0db797f7e22ae07752d6.tar.gz
Fix build problem on NetBSD 4.0. Should be fix PR pkg/41722.
Diffstat (limited to 'net/ntop')
-rw-r--r--net/ntop/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index bf9b1e1f17a..54e93099989 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2009/05/25 09:03:14 adam Exp $
+# $NetBSD: Makefile,v 1.54 2009/09/26 05:58:27 taca Exp $
DISTNAME= ntop-3.3.10
CATEGORIES= net
@@ -37,6 +37,10 @@ CONFIGURE_ARGS+= --disable-mt
INSTALL_UNSTRIPPED= YES
.endif
+.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-4].*))
+USE_BUILTIN.libevent= no
+.endif
+
pre-configure:
set -e; cd ${WRKSRC}; \
cp ${PREFIX}/share/libtool/ltmain.sh .; \
@@ -48,5 +52,6 @@ pre-configure:
.include "../../lang/lua/buildlink3.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
+.include "../../devel/libevent/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"