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