aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk13
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/jdk13
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/jdk13')
-rw-r--r--java/jdk13/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index 3e59069ca2e1..5e37fd20c049 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -160,7 +160,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:"; \