diff options
author | obrien <obrien@FreeBSD.org> | 2005-01-14 05:19:50 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-01-14 05:19:50 +0800 |
commit | c8cd1d11c7ac1b7cee34bde44bed6d00b3e53672 (patch) | |
tree | 42f026115ac0b73a10d9e905590228bf6a6c351a /lang | |
parent | d204a32e39efd8cb7cd8ef1a7c451cdca2da9263 (diff) | |
download | freebsd-ports-gnome-c8cd1d11c7ac1b7cee34bde44bed6d00b3e53672.tar.gz freebsd-ports-gnome-c8cd1d11c7ac1b7cee34bde44bed6d00b3e53672.tar.zst freebsd-ports-gnome-c8cd1d11c7ac1b7cee34bde44bed6d00b3e53672.zip |
Fix one bug about bootstraping on FreeBSD/amd64.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc31/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/gcc31/Makefile b/lang/gcc31/Makefile index 642a99fdc15d..336778f69fd1 100644 --- a/lang/gcc31/Makefile +++ b/lang/gcc31/Makefile @@ -33,6 +33,7 @@ NO_CDROM= 'dated material' LATEST_LINK= gcc31 USE_BZIP2= yes +USE_REINPLACE= yes PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure @@ -93,6 +94,8 @@ pre-configure: @${TOUCH} ${SRCDIR}/gcc/cstamp-h.in @${MKDIR} ${CONFIGURE_WRKSRC} @${RM} -f ${SRCDIR}/gcc/*/*.info* + @${REINPLACE_CMD} -e 's/elf_x86_64/elf_x86_64_fbsd/g' \ + ${SRCDIR}/gcc/config/i386/freebsd64.h pre-build: cd ${SRCDIR} ; contrib/gcc_update --touch |