summaryrefslogtreecommitdiffstats
path: root/lang/gnat
diff options
context:
space:
mode:
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