aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc295
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/gcc295
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/gcc295')
-rw-r--r--lang/gcc295/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile
index 03ae75ecadaa..8d07066b5801 100644
--- a/lang/gcc295/Makefile
+++ b/lang/gcc295/Makefile
@@ -58,7 +58,7 @@ pre-patch:
@${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.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 \
>${WRKSRC}/gcc/config/freebsd.h )
@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h