summaryrefslogtreecommitdiffstats
path: root/lang/gnat
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-01-30 08:23:53 +0000
committerkris <kris@FreeBSD.org>2003-01-30 08:23:53 +0000
commit7a003b856887fd70327f25ce5cc7b32298c5787c (patch)
tree465203d109415fae7799f450e68ded894e379550 /lang/gnat
parent3c186e4ad0c76f35320e6086161162a96c462aa4 (diff)
downloadFreeBSD-ports-7a003b856887fd70327f25ce5cc7b32298c5787c.zip
FreeBSD-ports-7a003b856887fd70327f25ce5cc7b32298c5787c.tar.gz
Use the full path to /sbin/sysctl
Noticed by: 'make index' in crontab
Diffstat (limited to 'lang/gnat')
-rw-r--r--lang/gnat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gnat/Makefile b/lang/gnat/Makefile
index fa58257..372ebee 100644
--- a/lang/gnat/Makefile
+++ b/lang/gnat/Makefile
@@ -162,7 +162,7 @@ post-patch:
pre-configure:
@(cd ${WRKSRC}/config/${ARCH}/ ; \
- MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
+ MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
${MV} freebsd.h freebsd.h.in ; \
${SED} -e "s:__FreeBSD__=[0-9]*:__FreeBSD__=$${MAJ}:" freebsd.h.in \
>freebsd.h)
OpenPOWER on IntegriCloud