diff options
author | taca <taca@pkgsrc.org> | 2009-09-26 05:58:27 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2009-09-26 05:58:27 +0000 |
commit | c6e0dcc6f36c2681d863269776d8190eac398828 (patch) | |
tree | 01c57da092c2f094931bcad4edaf240595dca5e1 /net/ntop | |
parent | e8e9e2354cb843ee7238b18b8048b18912ae7e59 (diff) | |
download | pkgsrc-c6e0dcc6f36c2681d863269776d8190eac398828.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/Makefile | 7 |
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" |