teach location of libpcap.

This commit is contained in:
obache 2013-01-27 02:55:36 +00:00
parent de81a16d68
commit de5bfca94c

View file

@ -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"