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 | f69369f8c841587507de49cd493c66e3a5227c3f (patch) | |
tree | cd70b064e0fc9b53a1eb8b203d85f57937f19201 | |
parent | 24c8e7ff4e69b27d9e8e1650071083a60bca893e (diff) | |
download | pkgsrc-f69369f8c841587507de49cd493c66e3a5227c3f.tar.gz |
The package supports installation to DESTDIR.
-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" |