Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 03:00:09 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83153: Update port: games/kbilliards
Message-ID:  <20050709030009.404b5103.tkato432@yahoo.com>
Resent-Message-ID: <200507081810.j68IA9fi023576@freefall.freebsd.org>

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

>Number:         83153
>Category:       ports
>Synopsis:       Update port: games/kbilliards
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 08 18:10:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Fix build on 4-stable

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/kbilliards/Makefile games/kbilliards/Makefile
--- /usr/ports/games/kbilliards/Makefile	Tue Jul  5 01:26:50 2005
+++ games/kbilliards/Makefile	Fri Jul  8 13:02:38 2005
@@ -12,22 +12,19 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Funny billiards simulator game for KDE
 
+EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
+
 USE_BZIP2=	yes
-USE_REINPLACE=	yes
 USE_KDELIBS_VER=	3
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
-EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
+CFLAGS+=	-Dsqrtl=sqrt
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 501000
-BROKEN=         "does not compile"
+.if ${OSVERSION} < 502114
+CFLAGS+=	-Dround=rint
 .endif
-	
-post-patch:
-	${REINPLACE_CMD} -e 's|sqrtl|sqrt|' \
-	${WRKSRC}/src/ball.cpp ${WRKSRC}/src/aiplayer.cpp
 
 .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?20050709030009.404b5103.tkato432>