diff options
author | drochner <drochner> | 2000-05-12 18:20:17 +0000 |
---|---|---|
committer | drochner <drochner> | 2000-05-12 18:20:17 +0000 |
commit | 7efc81fcb0f1154a08ecbf1f437f7ef026df5310 (patch) | |
tree | 681e9f06458556e08e03a0eec6a6bb2a1d516188 | |
parent | 7ee6f3532a065d90c5ab507b26b83e693b0842e9 (diff) | |
download | pkgsrc-7efc81fcb0f1154a08ecbf1f437f7ef026df5310.tar.gz |
extend this ugly hack to search for "sysctl" in /sbin and /usr/sbin
-rw-r--r-- | archivers/rar/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index c8161c570a7..8c6c92fc8dc 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2000/02/05 18:17:51 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2000/05/12 18:20:17 drochner Exp $ # FreeBSD Id: Makefile,v 1.7 1997/08/10 22:31:27 fenner Exp # @@ -21,7 +21,7 @@ NO_CDROM= ${RESTRICTED} NO_WRKSUBDIR= yes EXTRACT_CMD= ${DOWNLOADED_DISTFILE} >/dev/null -KERNEL= /`sysctl -n machdep.booted_kernel` +KERNEL= /`env "PATH=${PATH}:/sbin:/usr/sbin" sysctl -n machdep.booted_kernel` pre-extract: @if (${NM} ${KERNEL} | ${GREP} -q compat_12 && \ |