Date: Mon, 16 Aug 2004 17:10:39 GMT From: Igor Pokrovsky <ip@doom.homeunix.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/70459: Update port: games/ssc fix build on 5.x Message-ID: <200408161710.i7GHAd8O042266@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/70459; it has been noted by GNATS. From: Igor Pokrovsky <ip@doom.homeunix.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: pav@FreeBSD.org Subject: Re: ports/70459: Update port: games/ssc fix build on 5.x Date: Mon, 16 Aug 2004 21:08:14 +0400 Pav, I have no idea how to fix old C++ code of the game, that's why I forced build system to use GCC 3.3. I think this approach is suitable, and once me or somebody else will come with the correct code fix it won't be hard to modify the port. I fixed OSVERSION number, the updated patch follows. 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} >= 502126 +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> -ip -- Real programmers do not apply DP terminology to non-DP situations.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408161710.i7GHAd8O042266>