aboutsummaryrefslogtreecommitdiff
path: root/java/jdk15
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-01-30 08:23:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-01-30 08:23:53 +0000
commitd604e1d6d38c19ac75f5754372619d63b7d8950f (patch)
treed1afe981355b9b0d1ec24b39d433ac134cb6b097 /java/jdk15
parent346b9e5224478c1e304581c8c33e471811c3f139 (diff)
downloadports-d604e1d6d38c19ac75f5754372619d63b7d8950f.tar.gz
ports-d604e1d6d38c19ac75f5754372619d63b7d8950f.zip
Use the full path to /sbin/sysctl
Noticed by: 'make index' in crontab
Notes
Notes: svn path=/head/; revision=74251
Diffstat (limited to 'java/jdk15')
-rw-r--r--java/jdk15/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index 3e59069ca2e1..5e37fd20c049 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/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:"; \