summaryrefslogtreecommitdiff
path: root/archivers/rar
diff options
context:
space:
mode:
authorfredb <fredb>2000-01-10 08:00:31 +0000
committerfredb <fredb>2000-01-10 08:00:31 +0000
commit42c42a0c71404ddfc0440860ff9d133771a00e8f (patch)
tree81a4061b64aaa9f96fe1d6b8d815aa0838ece5b7 /archivers/rar
parent5fc8af6936cd3b54ab5f95e9cbf9d3f49981ce7c (diff)
downloadpkgsrc-42c42a0c71404ddfc0440860ff9d133771a00e8f.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 && \