ports/70459: Update port: games/ssc fix build on 5.x
Igor Pokrovsky
ip at doom.homeunix.org
Mon Aug 16 17:30:25 UTC 2004
The following reply was made to PR ports/70459; it has been noted by GNATS.
From: Igor Pokrovsky <ip at doom.homeunix.org>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc: pav at FreeBSD.org
Subject: Re: ports/70459: Update port: games/ssc fix build on 5.x
Date: Mon, 16 Aug 2004 21:27:45 +0400
Ok, I hope this one is fine:
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
+BROKEN= Doesn't compile on 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.
More information about the freebsd-ports-bugs
mailing list