ports/70459: Update port: games/ssc fix build on 5.x
Igor Pokrovsky
ip at doom.homeunix.org
Sat Aug 14 18:20:19 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list