ports/142964: [maintainer update] games/pokerth: mark broken on <7.0
Guido Falsi
mad at madpilot.net
Tue Jan 19 11:30:06 UTC 2010
>Number: 142964
>Category: ports
>Synopsis: [maintainer update] games/pokerth: mark broken on <7.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 19 11:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Guido Falsi
>Release: FreeBSD 8.0-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.0-STABLE FreeBSD 8.0-STABLE #10: Wed Jan 13 20:25:25 CET 2010 root at megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64
>Description:
Mark BROKEN on FreeBSD earlier than 7.0.
Does not build with boost include files throwing exceptions.
Reported by: pointyhat
>How-To-Repeat:
Try to build the pokerth port.
>Fix:
diff -ruN pokerth.old/Makefile pokerth/Makefile
--- pokerth.old/Makefile 2010-01-19 11:55:44.577361247 +0100
+++ pokerth/Makefile 2010-01-19 12:10:50.712503117 +0100
@@ -33,6 +33,11 @@
PORTDOCS= server_setup_howto.txt
MAN1= pokerth.1
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 700000
+BROKEN= Fails to build on FreeBSD < 7.0
+.endif
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \
@@ -53,4 +58,4 @@
@${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list