summaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-f9
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2007-04-10 18:29:39 +0000
committerbsam <bsam@FreeBSD.org>2007-04-10 18:29:39 +0000
commit193f8dbc64ecb8501874431a7f2eabd6a6864174 (patch)
tree8b8d613200f9a02a6a00e5ea0032639192d8ee86 /emulators/linux_base-f9
parent78410ae9d3667c41e540c068687106afdebde03e (diff)
downloadFreeBSD-ports-193f8dbc64ecb8501874431a7f2eabd6a6864174.zip
FreeBSD-ports-193f8dbc64ecb8501874431a7f2eabd6a6864174.tar.gz
Get rid of annoying message when do a "make index" at the system without
linuxolator started: ----- sysctl: unknown oid 'compat.linux.osrelease' ----- Reported by: netchild, rafan, chinsan Suggested by: rafan
Diffstat (limited to 'emulators/linux_base-f9')
-rw-r--r--emulators/linux_base-f9/Makefile2
-rw-r--r--emulators/linux_base-f9/linux_base-f8/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/linux_base-f9/Makefile b/emulators/linux_base-f9/Makefile
index c16024b..9fb9262 100644
--- a/emulators/linux_base-f9/Makefile
+++ b/emulators/linux_base-f9/Makefile
@@ -121,7 +121,7 @@ PLIST= pkg-plist
.include <bsd.port.pre.mk>
-LINUX_OSRELEASE!= ${SYSCTL} -n compat.linux.osrelease
+LINUX_OSRELEASE!= ${ECHO} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
.if ${LINUX_OSRELEASE} == "2.4.2"
IGNORE= compat.linux.osrelease: 2.4.2 is not supported
diff --git a/emulators/linux_base-f9/linux_base-f8/Makefile b/emulators/linux_base-f9/linux_base-f8/Makefile
index c16024b..9fb9262 100644
--- a/emulators/linux_base-f9/linux_base-f8/Makefile
+++ b/emulators/linux_base-f9/linux_base-f8/Makefile
@@ -121,7 +121,7 @@ PLIST= pkg-plist
.include <bsd.port.pre.mk>
-LINUX_OSRELEASE!= ${SYSCTL} -n compat.linux.osrelease
+LINUX_OSRELEASE!= ${ECHO} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
.if ${LINUX_OSRELEASE} == "2.4.2"
IGNORE= compat.linux.osrelease: 2.4.2 is not supported
OpenPOWER on IntegriCloud