aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc295/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc295/Makefile')
-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