Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 2004 22:16:25 +0400 (MSD)
From:      Igor Pokrovsky <ip@doom.homeunix.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70459: Update port: games/ssc fix build on 5.x
Message-ID:  <200408141816.i7EIGPt6010412@doom.homeunix.org>
Resent-Message-ID: <200408141820.i7EIKIt5038423@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70459
>Category:       ports
>Synopsis:       Update port: games/ssc fix build on 5.x
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 14 18:20:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Wed Jul 7 12:47:50 MSD 2004 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386


	
>Description:
Doesn't compile with GCC > 3.3.
	
>How-To-Repeat:
	
>Fix:

	

--- ssc.diff begins here ---
diff -ru /usr/ports/games/ssc/Makefile ssc/Makefile
--- /usr/ports/games/ssc/Makefile	Sun Aug  1 21:22:28 2004
+++ ssc/Makefile	Sat Aug 14 22:11:14 2004
@@ -29,6 +29,12 @@
 		LDFLAGS=-L${X11BASE}/lib
 ONLY_FOR_ARCHS=	i386
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501103
+USE_GCC=	3.3
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e "s|SDL\/||g; s|/usr/local|${PREFIX}|g" \
 		${WRKSRC}/src/*.h ${WRKSRC}/src/*.cc
@@ -39,4 +45,4 @@
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- ssc.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408141816.i7EIGPt6010412>