summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-11-07 11:51:10 +0000
committerabs <abs@pkgsrc.org>2008-11-07 11:51:10 +0000
commit376270061290f00d98dce9efd6ed8243cd2263e6 (patch)
tree5031c66a465bb40a0eb0b46ce972e5094f8e22b2 /net
parentd7f1ade20c7c68afec18e79ca3b76860f64a78f9 (diff)
downloadpkgsrc-376270061290f00d98dce9efd6ed8243cd2263e6.tar.gz
Alternate fix to DESTDIR issue - use INSTALLATION_DIRS=
Diffstat (limited to 'net')
-rw-r--r--net/libpcap/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 22afa194dee..0525e6be897 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2008/11/04 21:01:51 abs Exp $
+# $NetBSD: Makefile,v 1.45 2008/11/07 11:51:10 abs Exp $
DISTNAME= libpcap-1.0.0
PKGREVISION= 1
@@ -14,6 +14,7 @@ NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
+INSTALLATION_DIRS= bin
USE_TOOLS+= bison gm4 lex
USE_LIBTOOL= yes
@@ -25,9 +26,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-ipv6
.endif
-pre-install:
- ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
-
post-install:
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include