pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ntop Fix build problem on NetBSD 4.0. Should be f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/59e2d9a84ca9
branches:  trunk
changeset: 565559:59e2d9a84ca9
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Sep 26 05:58:27 2009 +0000

description:
Fix build problem on NetBSD 4.0.  Should be fix PR pkg/41722.

diffstat:

 net/ntop/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 0fd9498212b6 -r 59e2d9a84ca9 net/ntop/Makefile
--- a/net/ntop/Makefile Sat Sep 26 05:48:02 2009 +0000
+++ b/net/ntop/Makefile Sat Sep 26 05:58:27 2009 +0000
@@ -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 @@
 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 @@
 .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"



Home | Main Index | Thread Index | Old Index