Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2010 12:22:19 +0100 (CET)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142964: [maintainer update] games/pokerth: mark broken on <7.0
Message-ID:  <20100119112219.F3363118F@megatron.madpilot.net>
Resent-Message-ID: <201001191130.o0JBU6Td047054@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100119112219.F3363118F>