- Use GCC 4.2 in FreeBSD 5.x since base system one fails (internal compiler

error), and using 3.4 from ports requires hacks to confuse bsd.gcc.mk.

Reported by:	pointyhat (via pav)
This commit is contained in:
Alejandro Pulver 2007-12-16 01:34:39 +00:00
parent 53d4447fcc
commit a8aa67e112
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203820
4 changed files with 40 additions and 4 deletions

View File

@ -43,4 +43,13 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
# version 3.4 from ports which probably fixes this error requires a hack to
# get around bsd.gcc.mk handling, so use a higher version than in base system.
.if ${OSVERSION} < 600000
USE_GCC= 4.2+
.endif
.include <bsd.port.post.mk>

View File

@ -43,4 +43,13 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
# version 3.4 from ports which probably fixes this error requires a hack to
# get around bsd.gcc.mk handling, so use a higher version than in base system.
.if ${OSVERSION} < 600000
USE_GCC= 4.2+
.endif
.include <bsd.port.post.mk>

View File

@ -43,4 +43,13 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
# version 3.4 from ports which probably fixes this error requires a hack to
# get around bsd.gcc.mk handling, so use a higher version than in base system.
.if ${OSVERSION} < 600000
USE_GCC= 4.2+
.endif
.include <bsd.port.post.mk>

View File

@ -43,4 +43,13 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
# version 3.4 from ports which probably fixes this error requires a hack to
# get around bsd.gcc.mk handling, so use a higher version than in base system.
.if ${OSVERSION} < 600000
USE_GCC= 4.2+
.endif
.include <bsd.port.post.mk>