diff options
author | dbj <dbj@pkgsrc.org> | 2009-01-09 08:53:26 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2009-01-09 08:53:26 +0000 |
commit | 50a55833c41481841cb33d2b401d1c5ee2006f26 (patch) | |
tree | 5ef77ccc8d44cbd3560858ebf6749ec58b070cfd /net/ntop/Makefile | |
parent | 110fb011b84c2ac7be7a515d35ffc8e912559dc3 (diff) | |
download | pkgsrc-50a55833c41481841cb33d2b401d1c5ee2006f26.tar.gz |
fixes to compile and run on darwin.
. modify configure.in to look for libpcap.dylib
. set INSTALL_UNSTRIPPED=yes
Diffstat (limited to 'net/ntop/Makefile')
-rw-r--r-- | net/ntop/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile index 0c2e6fca318..a9c5a7a24fb 100644 --- a/net/ntop/Makefile +++ b/net/ntop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2008/10/16 12:24:09 adam Exp $ +# $NetBSD: Makefile,v 1.50 2009/01/09 08:53:26 dbj Exp $ DISTNAME= ntop-3.3.8 CATEGORIES= net @@ -35,6 +35,13 @@ BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.8.3 CONFIGURE_ARGS+= --disable-mt .endif +.if ${OPSYS} == "Darwin" +# This package uses "-flat_namespace -undefined suppress" and exports +# symbols from the executable that get stripped unless we set this: + +INSTALL_UNSTRIPPED= YES +.endif + pre-configure: set -e; cd ${WRKSRC}; \ |