summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authordrochner <drochner>2000-05-12 18:20:17 +0000
committerdrochner <drochner>2000-05-12 18:20:17 +0000
commitd9775b006d8fba5da72e16dd540f24d6cbbe5310 (patch)
tree681e9f06458556e08e03a0eec6a6bb2a1d516188 /archivers
parent5783286099e26b68371182e81bc659f2e34b538c (diff)
downloadpkgsrc-d9775b006d8fba5da72e16dd540f24d6cbbe5310.tar.gz
extend this ugly hack to search for "sysctl" in /sbin and /usr/sbin
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rar/Makefile4
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 && \