pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net Fixed the package for unprivileged users.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d31877f688e
branches:  trunk
changeset: 521317:4d31877f688e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 09 09:36:41 2006 +0000

description:
Fixed the package for unprivileged users.

diffstat:

 net/tcpdmerge/Makefile       |  11 ++++-------
 net/tcpdmerge/files/Makefile |   3 +--
 net/wakeup/Makefile          |   3 ++-
 net/wakeup/files/Makefile    |   3 +--
 4 files changed, 8 insertions(+), 12 deletions(-)

diffs (68 lines):

diff -r f98b27e19c5a -r 4d31877f688e net/tcpdmerge/Makefile
--- a/net/tcpdmerge/Makefile    Thu Nov 09 09:34:17 2006 +0000
+++ b/net/tcpdmerge/Makefile    Thu Nov 09 09:36:41 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:24 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2006/11/09 09:36:41 rillig Exp $
 
 DISTNAME=      tcpdmerge-1.0
 CATEGORIES=    net
@@ -10,13 +10,10 @@
 COMMENT=       Merge two tcpdump output files
 
 WRKSRC=                ${WRKDIR}
+MAKE_ENV+=     ${BSD_MAKE_ENV}
 
-do-extract:
-       ${MKDIR} ${WRKSRC}
-       for i in ${DISTFILES}; do \
-               ${CP} ${DISTDIR}/$$i ${WRKSRC}; \
-       done
-       ${CP} ${FILESDIR}/Makefile ${WRKSRC}
+post-extract:
+       cp ${FILESDIR}/Makefile ${WRKSRC}
 
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f98b27e19c5a -r 4d31877f688e net/tcpdmerge/files/Makefile
--- a/net/tcpdmerge/files/Makefile      Thu Nov 09 09:34:17 2006 +0000
+++ b/net/tcpdmerge/files/Makefile      Thu Nov 09 09:36:41 2006 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/03/06 02:58:39 itojun Exp $
+# $NetBSD: Makefile,v 1.2 2006/11/09 09:36:41 rillig Exp $
 
-BINDIR=        ${PREFIX}/bin
 PROG=  tcpdmerge
 NOMAN= yes
 
diff -r f98b27e19c5a -r 4d31877f688e net/wakeup/Makefile
--- a/net/wakeup/Makefile       Thu Nov 09 09:34:17 2006 +0000
+++ b/net/wakeup/Makefile       Thu Nov 09 09:36:41 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/07/15 18:27:53 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2006/11/09 09:38:12 rillig Exp $
 #
 
 DISTNAME=      hpwake
@@ -12,6 +12,7 @@
 COMMENT=       Wakeup On LAN client for remote power-up of machines
 
 USE_TOOLS+=    gunzip
+MAKE_ENV+=     ${BSD_MAKE_ENV}
 
 do-extract:
        ${MKDIR} ${WRKSRC}
diff -r f98b27e19c5a -r 4d31877f688e net/wakeup/files/Makefile
--- a/net/wakeup/files/Makefile Thu Nov 09 09:34:17 2006 +0000
+++ b/net/wakeup/files/Makefile Thu Nov 09 09:36:41 2006 +0000
@@ -1,9 +1,8 @@
-#      $NetBSD: Makefile,v 1.2 1999/11/20 11:57:57 tron Exp $
+#      $NetBSD: Makefile,v 1.3 2006/11/09 09:38:12 rillig Exp $
 
 PROG=  wakeup
 SRCS=  hpwake.c
 
-BINDIR=        ${PREFIX}/bin
 NOMAN= yes
 WARNS= 1
 



Home | Main Index | Thread Index | Old Index