summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-01-27 02:55:36 +0000
committerobache <obache@pkgsrc.org>2013-01-27 02:55:36 +0000
commitf21e8d2a373950396d131f24d43def584c19208d (patch)
treeafd3a76142b74b78a7ba783f1124d2c3d12249f5 /net
parent10d547a38336f00b0b99fe9af128f9f0a5aff536 (diff)
downloadpkgsrc-f21e8d2a373950396d131f24d43def584c19208d.tar.gz
teach location of libpcap.
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-Pcap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile
index 787e8d25ec5..457e87a619d 100644
--- a/net/p5-Net-Pcap/Makefile
+++ b/net/p5-Net-Pcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2012/10/23 17:18:51 asau Exp $
+# $NetBSD: Makefile,v 1.21 2013/01/27 02:55:36 obache Exp $
#
DISTNAME= Net-Pcap-0.16
@@ -19,6 +19,9 @@ BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9.5
PERL5_PACKLIST= auto/Net/Pcap/.packlist
+MAKE_PARAMS+= INC=-I${BUILDLINK_PREFIX.libpcap}/include
+MAKE_PARAMS+= LIBS='-L${BUILDLINK_PREFIX.libpcap}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libpcap}/lib -lpcap'
+
.include "../../lang/perl5/module.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"