Fix the 1st problem hit trying to build this on FBSD 5.x.
This commit is contained in:
parent
28be4d1836
commit
b100e8414d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121600
1 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,7 @@ CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
|
||||||
|
|
||||||
.if ${OSVERSION} >= 500113
|
.if ${OSVERSION} >= 500113
|
||||||
BROKEN= "Does not compile"
|
BROKEN= "Does not compile"
|
||||||
|
USE_REINPLACE= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORTOBJFORMAT} == "elf"
|
.if ${PORTOBJFORMAT} == "elf"
|
||||||
|
@ -77,6 +78,10 @@ pre-configure:
|
||||||
@${TOUCH} ${SRCDIR}/gcc/cstamp-h.in
|
@${TOUCH} ${SRCDIR}/gcc/cstamp-h.in
|
||||||
@${MKDIR} ${CONFIGURE_WRKSRC}
|
@${MKDIR} ${CONFIGURE_WRKSRC}
|
||||||
@${RM} -f ${SRCDIR}/gcc/*/*.info*
|
@${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:
|
pre-build:
|
||||||
cd ${SRCDIR} ; contrib/gcc_update --touch
|
cd ${SRCDIR} ; contrib/gcc_update --touch
|
||||||
|
|
Loading…
Reference in a new issue