pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libpcap Fix install with USE_DESTDIR set. Bump pkg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f22dcceeb913
branches:  trunk
changeset: 549517:f22dcceeb913
user:      abs <abs%pkgsrc.org@localhost>
date:      Tue Nov 04 21:01:51 2008 +0000

description:
Fix install with USE_DESTDIR set. Bump pkgrevision

diffstat:

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

diffs (22 lines):

diff -r a61f22b8f069 -r f22dcceeb913 net/libpcap/Makefile
--- a/net/libpcap/Makefile      Tue Nov 04 19:24:40 2008 +0000
+++ b/net/libpcap/Makefile      Tue Nov 04 21:01:51 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2008/10/30 08:12:34 adam Exp $
+# $NetBSD: Makefile,v 1.44 2008/11/04 21:01:51 abs Exp $
 
 DISTNAME=      libpcap-1.0.0
+PKGREVISION=   1
 SVR4_PKGNAME=  lpcap
 CATEGORIES=    net
 MASTER_SITES=  http://www.tcpdump.org/release/
@@ -24,6 +25,9 @@
 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