summaryrefslogtreecommitdiff
path: root/lang/gcc27/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-01-30 08:23:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-01-30 08:23:53 +0000
commitd604e1d6d38c19ac75f5754372619d63b7d8950f (patch)
treed1afe981355b9b0d1ec24b39d433ac134cb6b097 /lang/gcc27/Makefile
parentUpdate to 2003.01.28. (diff)
Use the full path to /sbin/sysctl
Noticed by: 'make index' in crontab
Notes
Notes: svn path=/head/; revision=74251
Diffstat (limited to 'lang/gcc27/Makefile')
-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 )