aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc28
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-11-13 07:32:21 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-11-13 07:32:21 +0000
commit9554bec5c6b15c6eac868118e27ae5e3965efffe (patch)
tree87d377a83a3d9dd929a0ed8dba03ae845ab5a5e9 /lang/gcc28
parenta23b8e23a637f59746d81da1071fcb03d15eb5f2 (diff)
downloadports-9554bec5c6b15c6eac868118e27ae5e3965efffe.tar.gz
ports-9554bec5c6b15c6eac868118e27ae5e3965efffe.zip
i386 => ${ARCH}
Requested by: imp
Notes
Notes: svn path=/head/; revision=14492
Diffstat (limited to 'lang/gcc28')
-rw-r--r--lang/gcc28/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index b75eae1d973c..53ca564f63b2 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 \