aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-04-13 16:48:22 +0800
committeredwin <edwin@FreeBSD.org>2007-04-13 16:48:22 +0800
commit1ebf9b483ddba9997720219c2adc06e2012c3784 (patch)
tree338f48cd25df0461d11d405b945e6110e20fa27f
parent6a87793dc7ec5a4a922f188ba83a9dbfb858605d (diff)
downloadfreebsd-ports-gnome-1ebf9b483ddba9997720219c2adc06e2012c3784.tar.gz
freebsd-ports-gnome-1ebf9b483ddba9997720219c2adc06e2012c3784.tar.zst
freebsd-ports-gnome-1ebf9b483ddba9997720219c2adc06e2012c3784.zip
Make sysctl check less noisy if compat.linux.osrelease doesn't exist.
Noticed by: INDEX build failure messages PR: ports/111524 Submitted by: Edwin Groothuis <edwin@> Reviewed by: Rong-En Fan <rafan@> Approved by: Timothy Bourke <timbob@bigpond.com>
-rw-r--r--devel/uppaal/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/uppaal/Makefile b/devel/uppaal/Makefile
index fe95c85a199b..7310da4431d1 100644
--- a/devel/uppaal/Makefile
+++ b/devel/uppaal/Makefile
@@ -31,7 +31,7 @@ RESTRICTED= Downloading requires completion of a license agreement
.include <bsd.port.pre.mk>
-LINUX_OSRELEASE!= ${SYSCTL} -n compat.linux.osrelease
+LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
.if ${LINUX_OSRELEASE} == "2.4.2" || ${OSVERSION} < 700000
IGNORE=requires compat.linux.osrelease of at least 2.6.16 (needs 7.0 or later)