pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libpcap Alternate fix to DESTDIR issue - use INSTA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5193253ef00
branches:  trunk
changeset: 549676:b5193253ef00
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Nov 07 11:51:10 2008 +0000

description:
Alternate fix to DESTDIR issue - use INSTALLATION_DIRS=

diffstat:

 net/libpcap/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 6d65efd12930 -r b5193253ef00 net/libpcap/Makefile
--- a/net/libpcap/Makefile      Fri Nov 07 11:49:32 2008 +0000
+++ b/net/libpcap/Makefile      Fri Nov 07 11:51:10 2008 +0000
@@ -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 @@
 
 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 @@
 CONFIGURE_ARGS+=       --enable-ipv6
 .endif
 
-pre-install:
-       ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
-
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include
 



Home | Main Index | Thread Index | Old Index