aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc28
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/gcc28
parent346b9e5224478c1e304581c8c33e471811c3f139 (diff)
downloadports-d604e1d6d38c19ac75f5754372619d63b7d8950f.tar.gz
ports-d604e1d6d38c19ac75f5754372619d63b7d8950f.zip
Use the full path to /sbin/sysctl
Noticed by: 'make index' in crontab
Notes
Notes: svn path=/head/; revision=74251
Diffstat (limited to 'lang/gcc28')
-rw-r--r--lang/gcc28/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index 61f1555e37dd..27a330a303db 100644
--- a/lang/gcc28/Makefile
+++ b/lang/gcc28/Makefile
@@ -51,7 +51,7 @@ pre-configure:
@${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/configure
@${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/cstamp-h.in
@(cd ${WRKSRC}/config/${ARCH}/ ; \
- MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
+ MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
${MV} freebsd-aout.h freebsd-aout.h.in ; \
${SED} -e "s:__FreeBSD__=[0-9]*:__FreeBSD__=$${MAJ}:" \
freebsd-aout.h.in >freebsd-aout.h ; \