summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca>2009-09-26 05:58:27 +0000
committertaca <taca>2009-09-26 05:58:27 +0000
commita055f80e64ac33373d532260ea34082f6da2189b (patch)
tree01c57da092c2f094931bcad4edaf240595dca5e1 /net
parentc8b996422daab6e53aaf66b2f5e349bc07bb10b0 (diff)
downloadpkgsrc-a055f80e64ac33373d532260ea34082f6da2189b.tar.gz
Fix build problem on NetBSD 4.0. Should be fix PR pkg/41722.
Diffstat (limited to 'net')
-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"