diff options
author | heinz <heinz@pkgsrc.org> | 2008-02-29 00:38:12 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-02-29 00:38:12 +0000 |
commit | 7ba683d8f42219f2218e5337d28d59aac35eb7ee (patch) | |
tree | cd70b064e0fc9b53a1eb8b203d85f57937f19201 /net/libpcap/Makefile | |
parent | 24f697ae4845cdfc7c79a1a90dc6ec298d480eeb (diff) | |
download | pkgsrc-7ba683d8f42219f2218e5337d28d59aac35eb7ee.tar.gz |
The package supports installation to DESTDIR.
Diffstat (limited to 'net/libpcap/Makefile')
-rw-r--r-- | net/libpcap/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile index 6e1aa00acf1..e148418a702 100644 --- a/net/libpcap/Makefile +++ b/net/libpcap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.41 2007/10/14 22:49:43 tron Exp $ +# $NetBSD: Makefile,v 1.42 2008/02/29 00:38:12 heinz Exp $ DISTNAME= libpcap-0.9.8 SVR4_PKGNAME= lpcap @@ -11,6 +11,7 @@ COMMENT= System-independent interface for user-level packet capture NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews USE_TOOLS+= bison gm4 lex @@ -24,6 +25,6 @@ CONFIGURE_ARGS+= --enable-ipv6 .endif post-install: - ${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include .include "../../mk/bsd.pkg.mk" |