summaryrefslogtreecommitdiff
path: root/archivers/rar
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-01-10 08:00:31 +0000
committerfredb <fredb@pkgsrc.org>2000-01-10 08:00:31 +0000
commit8b0f3c885945955f553324b0f2c6305b019a20d7 (patch)
tree81a4061b64aaa9f96fe1d6b8d815aa0838ece5b7 /archivers/rar
parent541e3fcc2db82917db2604bb1a87fb24dc5ea21d (diff)
downloadpkgsrc-8b0f3c885945955f553324b0f2c6305b019a20d7.tar.gz
Simplify invocation of "sysctl".
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 f2459a55a01..7fb2a9c9e52 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2000/01/10 00:16:11 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2000/01/10 08:00:31 fredb 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 machdep.booted_kernel | sed 's/.* = //'`
+KERNEL= /`sysctl -n machdep.booted_kernel`
pre-extract:
@if (${NM} ${KERNEL} | ${GREP} -q compat_12 && \