Fix the 1st problem hit trying to build this on FBSD 5.x.

This commit is contained in:
David E. O'Brien 2004-11-14 19:32:21 +00:00
parent 28be4d1836
commit b100e8414d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121600

View file

@ -34,6 +34,7 @@ CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
USE_REINPLACE= yes
.endif
.if ${PORTOBJFORMAT} == "elf"
@ -77,6 +78,10 @@ pre-configure:
@${TOUCH} ${SRCDIR}/gcc/cstamp-h.in
@${MKDIR} ${CONFIGURE_WRKSRC}
@${RM} -f ${SRCDIR}/gcc/*/*.info*
.if ${OSVERSION} >= 500113
@${REINPLACE_CMD} -e 's/elf_i386/elf_i386_fbsd/g' \
${SRCDIR}/gcc/config/i386/freebsd.h
.endif
pre-build:
cd ${SRCDIR} ; contrib/gcc_update --touch