aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc43/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-03-22 09:35:36 +0800
committerobrien <obrien@FreeBSD.org>1999-03-22 09:35:36 +0800
commit145fee118d0fbdfda82092b75ecd9b44790642f9 (patch)
tree84cb4ca3477cdaa9f19da5c8126cb36af3437eb1 /lang/gcc43/Makefile
parente49345e712fa77663486e37b1671c5a0f1d154e5 (diff)
downloadfreebsd-ports-gnome-145fee118d0fbdfda82092b75ecd9b44790642f9.tar.gz
freebsd-ports-gnome-145fee118d0fbdfda82092b75ecd9b44790642f9.tar.zst
freebsd-ports-gnome-145fee118d0fbdfda82092b75ecd9b44790642f9.zip
* Add support for ``-pthead''
* Add Alpha support Obtained from: Alpha bits taken from Hidetoshi Shimokawa's <simokawa@FreeBSD.ORG> work
Diffstat (limited to 'lang/gcc43/Makefile')
-rw-r--r--lang/gcc43/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile
index f9347a47d87e..cd5b039f398a 100644
--- a/lang/gcc43/Makefile
+++ b/lang/gcc43/Makefile
@@ -4,7 +4,7 @@
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
-# $Id: Makefile,v 1.48 1999/03/08 07:28:27 asami Exp $
+# $Id: Makefile,v 1.50 1999/03/17 00:40:25 obrien Exp $
#
DISTNAME= egcs-1.1.2
@@ -55,21 +55,20 @@ ALL_TARGET= bootstrap
MAN1= cccp.1 g++.1 g77.1 gcc.1
pre-patch:
+ @${MV} ${WRKSRC}/gcc/config/i386/t-freebsd ${WRKSRC}/gcc/config/
@${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h
@${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h
+ @${CP} ${FILESDIR}/alpha-freebsd-elf.h ${WRKSRC}/gcc/config/alpha/freebsd-elf.h
+ @${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
pre-configure:
@# Keep from running `autoconf' and `autoheader' since we modified
@# configure.in by patching it.
@touch ${WRKSRC}/gcc/configure
@touch ${WRKSRC}/gcc/cstamp-h.in
- @(cd ${WRKSRC}/gcc/config/${ARCH}/ ; \
- MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
- ${MV} freebsd-aout.h freebsd-aout.h.in ; \
- ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-aout.h.in \
- >freebsd-aout.h ; \
- ${MV} freebsd.h freebsd.h.in ; \
- ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
+ @(MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
+ ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
+ >${WRKSRC}/gcc/config/freebsd.h )
.if ${PORTOBJFORMAT} == "elf" && ${MACHINE_ARCH} == "i386"
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
.endif