aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc27
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 /lang/gcc27
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 'lang/gcc27')
-rw-r--r--lang/gcc27/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc27/Makefile b/lang/gcc27/Makefile
index 0c2612b4d83b..0abab062adf5 100644
--- a/lang/gcc27/Makefile
+++ b/lang/gcc27/Makefile
@@ -41,7 +41,7 @@ pre-patch:
@${MV} ${WRKSRC}/config/i386/freebsd.h ${WRKSRC}/config/i386/freebsd-aout.h
pre-configure:
- @(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
+ @(MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
${SED} -e "s:__FreeBSD__[0-9=]*:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h.${ARCH} \
>${WRKSRC}/config/${ARCH}/freebsd.h )