diff options
author | christos <christos> | 2008-12-20 19:06:39 +0000 |
---|---|---|
committer | christos <christos> | 2008-12-20 19:06:39 +0000 |
commit | ebcc1822a5c39663046aad8dfafea3c4bef6eb79 (patch) | |
tree | ab684758151e380f072018b3785a02404d32b229 | |
parent | 5ee635502adf2c7e14201d1ce740b5b113393c4c (diff) | |
download | pkgsrc-ebcc1822a5c39663046aad8dfafea3c4bef6eb79.tar.gz |
PR/38967: Yamamoto Takashi: Honor NETBSDSRCDIR.
-rw-r--r-- | sysutils/strace/patches/patch-ab | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sysutils/strace/patches/patch-ab b/sysutils/strace/patches/patch-ab index 02e8047e0e4..e04678af54f 100644 --- a/sysutils/strace/patches/patch-ab +++ b/sysutils/strace/patches/patch-ab @@ -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 @@ $NetBSD: patch-ab,v 1.3 2007/12/05 16:31:00 christos Exp $ + +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 |