diff options
author | obrien <obrien@FreeBSD.org> | 1998-11-13 07:32:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-11-13 07:32:21 +0000 |
commit | ed113a13d5c3c359f7ac066c002484f16ae5d2b5 (patch) | |
tree | d00e175032616b78fd003d63238594bb40d008dd /lang/gcc28 | |
parent | f4dcaa20550edf3e67dd635dde9e1156a109398a (diff) | |
download | FreeBSD-ports-ed113a13d5c3c359f7ac066c002484f16ae5d2b5.zip FreeBSD-ports-ed113a13d5c3c359f7ac066c002484f16ae5d2b5.tar.gz |
i386 => ${ARCH}
Requested by: imp
Diffstat (limited to 'lang/gcc28')
-rw-r--r-- | lang/gcc28/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile index b75eae1..53ca564 100644 --- a/lang/gcc28/Makefile +++ b/lang/gcc28/Makefile @@ -4,7 +4,7 @@ # Date created: 17 Jan 1998 # Whom: David O'Brien <obrien@NUXI.com> # -# $Id: Makefile,v 1.17 1998/11/10 07:33:33 obrien Exp $ +# $Id: Makefile,v 1.18 1998/11/11 05:37:24 asami Exp $ # DISTNAME= gcc-2.8.1 @@ -16,9 +16,9 @@ MAINTAINER= obrien@FreeBSD.org .include <bsd.port.pre.mk> .if ${PORTOBJFORMAT} == "elf" -GNUHOST= i386-unknown-freebsdelf${OSREL} +GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL} .else -GNUHOST= i386-unknown-freebsd${OSREL} +GNUHOST= ${ARCH}-unknown-freebsd${OSREL} .endif PLIST_SUB= GNUHOST=${GNUHOST} @@ -35,7 +35,7 @@ pre-fetch: @${ECHO} "GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT}" pre-configure: - @(cd ${WRKSRC}/config/i386/ ; \ + @(cd ${WRKSRC}/config/${ARCH}/ ; \ MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \ ${MV} freebsd.h freebsd.h.in ; \ ${SED} -e "s:__FreeBSD__=[0-9]*:__FreeBSD__=$${MAJ}:" freebsd.h.in \ |