summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2008-11-07 11:51:10 +0000
committerabs <abs>2008-11-07 11:51:10 +0000
commita01b345f5f3b6f9328ea036dce50d4532d7c0f2f (patch)
tree5031c66a465bb40a0eb0b46ce972e5094f8e22b2
parent1b3b65de69fc982b0d91af988cb9ed86db5d078a (diff)
downloadpkgsrc-a01b345f5f3b6f9328ea036dce50d4532d7c0f2f.tar.gz
Alternate fix to DESTDIR issue - use INSTALLATION_DIRS=
-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