From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 16 17:10:39 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB02E16A4CF for ; Mon, 16 Aug 2004 17:10:39 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D215D43D6E for ; Mon, 16 Aug 2004 17:10:39 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7GHAdl9042269 for ; Mon, 16 Aug 2004 17:10:39 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7GHAd8O042266; Mon, 16 Aug 2004 17:10:39 GMT (envelope-from gnats) Date: Mon, 16 Aug 2004 17:10:39 GMT Message-Id: <200408161710.i7GHAd8O042266@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Igor Pokrovsky Subject: Re: ports/70459: Update port: games/ssc fix build on 5.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Igor Pokrovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 17:10:40 -0000 The following reply was made to PR ports/70459; it has been noted by GNATS. From: Igor Pokrovsky 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 + +.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 +.include -ip -- Real programmers do not apply DP terminology to non-DP situations.