mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
GNUHOST is now "i386-unknown-freebsd" for an ELF machine, and
"i386-unknown-freebsdaout" for an a.out machine.
This commit is contained in:
parent
f21b34b039
commit
9740802749
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16573
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,14 +1,14 @@
|
||||
--- config.guess.orig Fri Oct 23 14:26:33 1998
|
||||
+++ config.guess Thu Dec 3 20:56:57 1998
|
||||
+++ config.guess Mon Feb 8 12:13:06 1999
|
||||
@@ -474,7 +474,11 @@
|
||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:FreeBSD:*:*)
|
||||
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then
|
||||
+ echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ else
|
||||
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ else
|
||||
+ echo ${UNAME_MACHINE}-unknown-freebsdaout`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ fi
|
||||
exit 0 ;;
|
||||
*:NetBSD:*:*)
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/egcs/files/patch-al
Normal file
29
lang/egcs/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc-devel/files/patch-al
Normal file
29
lang/gcc-devel/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc-ooo/files/patch-al
Normal file
29
lang/gcc-ooo/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc/files/patch-al
Normal file
29
lang/gcc/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,14 +1,14 @@
|
||||
--- config.guess.orig Fri Oct 23 14:26:33 1998
|
||||
+++ config.guess Thu Dec 3 20:56:57 1998
|
||||
+++ config.guess Mon Feb 8 12:13:06 1999
|
||||
@@ -474,7 +474,11 @@
|
||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||
exit 0 ;;
|
||||
*:FreeBSD:*:*)
|
||||
- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then
|
||||
+ echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ else
|
||||
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ else
|
||||
+ echo ${UNAME_MACHINE}-unknown-freebsdaout`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
+ fi
|
||||
exit 0 ;;
|
||||
*:NetBSD:*:*)
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc295/files/patch-al
Normal file
29
lang/gcc295/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc30/files/patch-al
Normal file
29
lang/gcc30/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc31/files/patch-al
Normal file
29
lang/gcc31/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc32/files/patch-al
Normal file
29
lang/gcc32/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc33/files/patch-al
Normal file
29
lang/gcc33/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc34/files/patch-al
Normal file
29
lang/gcc34/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc35/files/patch-al
Normal file
29
lang/gcc35/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc40/files/patch-al
Normal file
29
lang/gcc40/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc41/files/patch-al
Normal file
29
lang/gcc41/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc42/files/patch-al
Normal file
29
lang/gcc42/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc43/files/patch-al
Normal file
29
lang/gcc43/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc44/files/patch-al
Normal file
29
lang/gcc44/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc45/files/patch-al
Normal file
29
lang/gcc45/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc46/files/patch-al
Normal file
29
lang/gcc46/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
@ -1,10 +1,30 @@
|
||||
--- gcc/configure.orig Wed Dec 2 11:22:52 1998
|
||||
+++ gcc/configure Fri Dec 25 00:35:40 1998
|
||||
@@ -2752,6 +2752,7 @@
|
||||
tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+++ gcc/configure Tue Feb 9 02:21:19 1999
|
||||
@@ -2748,20 +2748,21 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[34567]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[34567]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[34567]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
||||
tmake_file=i386/t-freebsd
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[34567]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
||||
|
29
lang/gcc47/files/patch-al
Normal file
29
lang/gcc47/files/patch-al
Normal file
@ -0,0 +1,29 @@
|
||||
--- gcc/configure.in.orig Thu Aug 27 17:19:04 1998
|
||||
+++ gcc/configure.in Tue Feb 9 02:22:10 1999
|
||||
@@ -846,20 +846,20 @@
|
||||
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
|
||||
# use_collect2=yes
|
||||
;;
|
||||
- i[[34567]]86-*-freebsdelf*)
|
||||
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
|
||||
+ i[[34567]]86-*-freebsdaout*)
|
||||
+ tm_file=i386/freebsd.h
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
- gas=yes
|
||||
- gnu_ld=yes
|
||||
- stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-freebsd*)
|
||||
- tm_file=i386/freebsd.h
|
||||
+ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd.h i386/perform.h"
|
||||
# On FreeBSD, the headers are already ok, except for math.h.
|
||||
fixincludes=fixinc.wrap
|
||||
tmake_file=i386/t-freebsd
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ stabs=yes
|
||||
;;
|
||||
i[[34567]]86-*-netbsd*)
|
||||
tm_file=i386/netbsd.h
|
@ -4,7 +4,7 @@
|
||||
# Date created: 9 Jan 1998
|
||||
# Whom: John Polstra <jdp@polstra.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.42 1998/12/26 20:10:02 obrien Exp $
|
||||
# $Id: Makefile,v 1.43 1999/02/03 11:11:52 asami Exp $
|
||||
#
|
||||
|
||||
DISTNAME= egcs-1.1.1
|
||||
@ -26,11 +26,11 @@ LIBSTDCPP_REV= 2.9.0
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdelf
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsd${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsd
|
||||
.else
|
||||
#GNUHOST= ${ARCH}-unknown-freebsdaout${OSREL}
|
||||
GNUHOST= ${ARCH}-unknown-freebsdaout
|
||||
.endif
|
||||
|
||||
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
|
||||
@ -41,13 +41,26 @@ CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
|
||||
ALL_TARGET= bootstrap
|
||||
MAN1= cccp.1 g++.1 g77.1 gcc.1
|
||||
|
||||
pre-patch:
|
||||
@${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
|
||||
# If I touch configure.in in any way, the build scafolding wants to
|
||||
# run `autoconf' to regenerate `configure'. I thought a simple `touch'
|
||||
# of `configure' would do the trick, but it didn't.
|
||||
##${CP} -p ${WRKSRC}/gcc/configure.in ${WRKSRC}/gcc/configure.in-changed
|
||||
|
||||
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 ; \
|
||||
${MV} freebsd-elf.h freebsd-elf.h.in ; \
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)
|
||||
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h )
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
@${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST}
|
||||
.endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:08:44 1999
|
||||
--- gcc/config/i386/freebsd-aout.h.orig Tue Jun 30 15:52:18 1998
|
||||
+++ gcc/config/i386/freebsd-aout.h Fri Jan 22 04:08:44 1999
|
||||
@@ -89,6 +89,10 @@
|
||||
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
|
||||
we want to retain compatibility with older gcc versions. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- gcc/config/i386/freebsd-elf.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd-elf.h Fri Jan 22 04:11:03 1999
|
||||
--- gcc/config/i386/freebsd.h.orig Mon Jul 13 15:38:36 1998
|
||||
+++ gcc/config/i386/freebsd.h Fri Jan 22 04:11:03 1999
|
||||
@@ -26,8 +26,13 @@
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user