From 0153612e4f8f507a78cf83a7306668174002ea94 Mon Sep 17 00:00:00 2001 From: alepulver Date: Sun, 16 Dec 2007 01:34:39 +0000 Subject: - 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) --- emulators/sdlmame/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'emulators/sdlmame') diff --git a/emulators/sdlmame/Makefile b/emulators/sdlmame/Makefile index e533322fe0ee..d6a571494c1d 100644 --- a/emulators/sdlmame/Makefile +++ b/emulators/sdlmame/Makefile @@ -43,4 +43,13 @@ post-install: @${CAT} ${PKGMESSAGE} @${ECHO_CMD} -.include +.include + +# 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 -- cgit