summaryrefslogtreecommitdiffstats
path: root/lang/gcc31
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-11-13 07:32:21 +0000
committerobrien <obrien@FreeBSD.org>1998-11-13 07:32:21 +0000
commited113a13d5c3c359f7ac066c002484f16ae5d2b5 (patch)
treed00e175032616b78fd003d63238594bb40d008dd /lang/gcc31
parentf4dcaa20550edf3e67dd635dde9e1156a109398a (diff)
downloadFreeBSD-ports-ed113a13d5c3c359f7ac066c002484f16ae5d2b5.zip
FreeBSD-ports-ed113a13d5c3c359f7ac066c002484f16ae5d2b5.tar.gz
i386 => ${ARCH}
Requested by: imp
Diffstat (limited to 'lang/gcc31')
-rw-r--r--lang/gcc31/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile
index 1803f0d..16480d6 100644
--- a/lang/gcc31/Makefile
+++ b/lang/gcc31/Makefile
@@ -4,7 +4,7 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.33 1998/09/27 01:56:14 obrien Exp $
+# $Id: Makefile,v 1.35 1998/10/01 21:40:03 obrien Exp $
#
DISTNAME= egcs-19980914
@@ -20,9 +20,9 @@ EGCS_REV= egcs-2.92.07
LIBSTDCPP_REV= 2.9.0
ARE_WE_ELF!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout
.if ${ARE_WE_ELF} == "elf"
-GNUHOST= i386-unknown-freebsdelf
+GNUHOST= ${ARCH}-unknown-freebsdelf
.else
-GNUHOST= i386-unknown-freebsd
+GNUHOST= ${ARCH}-unknown-freebsd
.endif
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
GNU_CONFIGURE= yes
@@ -33,7 +33,7 @@ ALL_TARGET= bootstrap
MAN1= cccp.1 g++.1 g77.1 gcc.1
pre-configure:
- @(cd ${WRKSRC}/gcc/config/i386/ ; \
+ @(cd ${WRKSRC}/gcc/config/${ARCH}/ ; \
MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
${MV} freebsd.h freebsd.h.in ; \
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h ; \
OpenPOWER on IntegriCloud