diff options
author | kris <kris@FreeBSD.org> | 2003-01-30 16:23:53 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-01-30 16:23:53 +0800 |
commit | 7a003b856887fd70327f25ce5cc7b32298c5787c (patch) | |
tree | 465203d109415fae7799f450e68ded894e379550 /lang | |
parent | 3c186e4ad0c76f35320e6086161162a96c462aa4 (diff) | |
download | freebsd-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')
-rw-r--r-- | lang/egcs/Makefile | 2 | ||||
-rw-r--r-- | lang/gcc27/Makefile | 2 | ||||
-rw-r--r-- | lang/gcc28/Makefile | 2 | ||||
-rw-r--r-- | lang/gcc295/Makefile | 2 | ||||
-rw-r--r-- | lang/gnat/Makefile | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lang/egcs/Makefile b/lang/egcs/Makefile index 8752def28942..1b33289e58cb 100644 --- a/lang/egcs/Makefile +++ b/lang/egcs/Makefile @@ -52,7 +52,7 @@ pre-configure: @# configure.in by patching it. @touch ${WRKSRC}/gcc/configure @touch ${WRKSRC}/gcc/cstamp-h.in - @(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ + @(MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \ >${WRKSRC}/gcc/config/freebsd.h ) 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 ) 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 ; \ 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 diff --git a/lang/gnat/Makefile b/lang/gnat/Makefile index fa58257c5316..372ebee1e1c7 100644 --- a/lang/gnat/Makefile +++ b/lang/gnat/Makefile @@ -162,7 +162,7 @@ post-patch: pre-configure: @(cd ${WRKSRC}/config/${ARCH}/ ; \ - MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ + MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ ${MV} freebsd.h freebsd.h.in ; \ ${SED} -e "s:__FreeBSD__=[0-9]*:__FreeBSD__=$${MAJ}:" freebsd.h.in \ >freebsd.h) |