pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/strace
Module Name: pkgsrc
Committed By: tnn
Date: Tue Aug 18 05:22:39 UTC 2020
Modified Files:
pkgsrc/sysutils/strace: Makefile
Log Message:
strace: fail in a more user-friendly manner if kernel sources are missing
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/sysutils/strace/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/strace/Makefile
diff -u pkgsrc/sysutils/strace/Makefile:1.30 pkgsrc/sysutils/strace/Makefile:1.31
--- pkgsrc/sysutils/strace/Makefile:1.30 Sun Aug 11 13:23:17 2019
+++ pkgsrc/sysutils/strace/Makefile Tue Aug 18 05:22:38 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2019/08/11 13:23:17 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2020/08/18 05:22:38 tnn Exp $
#
DISTNAME= strace-4.5.15
@@ -31,7 +31,10 @@ pre-configure:
.endif
.if ${OPSYS} == "NetBSD"
-MAKE_ENV+= NETBSD_SRCDIR=${BSD_SRCDIR:Q}
+MAKE_ENV+= NETBSD_SRCDIR=${BSDSRCDIR:Q}
+.if !exists(${BSDSRCDIR:Q}/sys/kern/syscalls.master)
+PKG_FAIL_REASON+= "Please place kernel sources in ${BSDSRCDIR:Q}/sys or set BSDSRCDIR"
+.endif
pre-configure:
${CP} -f ${WRKSRC}/syscalls.pl ${WRKSRC}/netbsd
Home |
Main Index |
Thread Index |
Old Index