diff options
author | drochner <drochner> | 2005-07-13 14:18:22 +0000 |
---|---|---|
committer | drochner <drochner> | 2005-07-13 14:18:22 +0000 |
commit | 8e693e99cd8f292c5bea692b9a849641b06044d9 (patch) | |
tree | dfedf3ea311a326db753b92bd5f420fba37fb4a2 /net/hping/Makefile | |
parent | cc266e7a2e042bbb7b4486eb0ff5527b299a3a30 (diff) | |
download | pkgsrc-8e693e99cd8f292c5bea692b9a849641b06044d9.tar.gz |
this uses libpcap, so include the buildlink file,
and add some fixes to allow building against pkgsrc libpcap
Diffstat (limited to 'net/hping/Makefile')
-rw-r--r-- | net/hping/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile index 43ca88a70dd..177a7eba38a 100644 --- a/net/hping/Makefile +++ b/net/hping/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/06/17 03:50:25 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2005/07/13 14:18:22 drochner Exp $ # DISTNAME= hping2.0.0-rc2 @@ -19,10 +19,14 @@ NOT_FOR_PLATFORM= NetBSD-0.* NetBSD-1.[0-4]* BINMODE= 4755 INSTALLATION_DIRS= man/man8 sbin +CONFIGURE_ENV+= PCAPINCDIR=${BUILDLINK_PREFIX.libpcap}/include +CONFIGURE_ENV+= PCAPLIBDIR=${BUILDLINK_PREFIX.libpcap}/lib + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin ${LN} -s ../sbin/hping2 ${PREFIX}/sbin/hping ${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8 ${LN} -s ../../man/man8/hping2.8 ${PREFIX}/man/man8/hping.8 +.include "../../net/libpcap/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |