pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/strace/patches PR/38967: Yamamoto Takashi: Ho...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe7d162174aa
branches:  trunk
changeset: 551851:fe7d162174aa
user:      christos <christos%pkgsrc.org@localhost>
date:      Sat Dec 20 19:06:39 2008 +0000

description:
PR/38967: Yamamoto Takashi: Honor NETBSDSRCDIR.

diffstat:

 sysutils/strace/patches/patch-ab |  19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r 7cb3d6bf86c4 -r fe7d162174aa sysutils/strace/patches/patch-ab
--- a/sysutils/strace/patches/patch-ab  Sat Dec 20 19:04:23 2008 +0000
+++ b/sysutils/strace/patches/patch-ab  Sat Dec 20 19:06:39 2008 +0000
@@ -1,10 +1,13 @@
-$NetBSD: patch-ab,v 1.3 2007/12/05 16:31:00 christos Exp $
+$NetBSD: patch-ab,v 1.4 2008/12/20 19:06:39 christos Exp $
 
 --- /dev/null  2007-04-26 23:20:40.000000000 -0400
 +++ netbsd/Makefile    2007-04-27 15:14:51.000000000 -0400
-@@ -0,0 +1,35 @@
+@@ -0,0 +1,38 @@
++
++.include <bsd.own.mk>
 +
 +arch != uname -p
++NETBSDSRCDIR?= /usr/src
 +
 +DEP=  syscallent.h ioctlent.h errnoent.h signalent.h
 +ALL=  ${DEP}
@@ -12,19 +15,19 @@
 +
 +all: ${ALL}
 +
-+syscallent.h: syscalls.pl syscalls.print syscalls.cat /usr/src/sys/kern/syscalls.master
++syscallent.h: syscalls.pl syscalls.print syscalls.cat ${NETBSDSRCDIR}/sys/kern/syscalls.master
 +      @chmod +x syscalls.pl
-+      ./syscalls.pl /usr/src/sys/kern/syscalls.master syscalls.print syscalls.cat > $@
++      ./syscalls.pl ${NETBSDSRCDIR}/sys/kern/syscalls.master syscalls.print syscalls.cat > $@
 +
 +syscall.h: syscallent.h
 +
-+signalent.h: mksignal /usr/include/sys/signal.h
++signalent.h: mksignal ${NETBSDSRCDIR}/sys/sys/signal.h
 +      @chmod +x mksignal
-+      ./mksignal /usr/include/sys/signal.h > $@
++      ./mksignal ${NETBSDSRCDIR}/sys/sys/signal.h > $@
 +
-+errnoent.h: mkerrno /usr/include/sys/errno.h
++errnoent.h: mkerrno ${NETBSDSRCDIR}/sys/sys/errno.h
 +      @chmod +x mkerrno
-+      ./mkerrno /usr/include/sys/errno.h > $@
++      ./mkerrno ${NETBSDSRCDIR}/sys/sys/errno.h > $@
 +
 +ioctlent.h: ioctlent.sh
 +      @chmod +x ioctlent.sh



Home | Main Index | Thread Index | Old Index