aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk12
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-30 16:23:53 +0800
committerkris <kris@FreeBSD.org>2003-01-30 16:23:53 +0800
commit7a003b856887fd70327f25ce5cc7b32298c5787c (patch)
tree465203d109415fae7799f450e68ded894e379550 /java/jdk12
parent3c186e4ad0c76f35320e6086161162a96c462aa4 (diff)
downloadfreebsd-ports-gnome-7a003b856887fd70327f25ce5cc7b32298c5787c.tar.gz
freebsd-ports-gnome-7a003b856887fd70327f25ce5cc7b32298c5787c.tar.zst
freebsd-ports-gnome-7a003b856887fd70327f25ce5cc7b32298c5787c.zip
Use the full path to /sbin/sysctl
Noticed by: 'make index' in crontab
Diffstat (limited to 'java/jdk12')
-rw-r--r--java/jdk12/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdk12/Makefile b/java/jdk12/Makefile
index 063573635c4a..54837c99d30c 100644
--- a/java/jdk12/Makefile
+++ b/java/jdk12/Makefile
@@ -125,7 +125,7 @@ pre-build:
${ECHO_MSG} "This is known to cause problems during bootstrapping."; \
exit 1; \
fi
- @if [ `sysctl -n compat.linux.osname` != "Linux" ]; \
+ @if [ `/sbin/sysctl -n compat.linux.osname` != "Linux" ]; \
then \
${ECHO_MSG} "Please set the value of the sysctl compat.linux.osname"; \
${ECHO_MSG} "to 'Linux' with the command:"; \