View | Details | Raw Unified | Return to bug 83153
Collapse All | Expand All

(-)games/kbilliards/Makefile (-8 / +5 lines)
Lines 12-33 Link Here
12
MAINTAINER=	ports@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Funny billiards simulator game for KDE
13
COMMENT=	Funny billiards simulator game for KDE
14
14
15
EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
16
15
USE_BZIP2=	yes
17
USE_BZIP2=	yes
16
USE_REINPLACE=	yes
17
USE_KDELIBS_VER=	3
18
USE_KDELIBS_VER=	3
18
USE_GMAKE=	yes
19
USE_GMAKE=	yes
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
20
21
21
EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
22
CFLAGS+=	-Dsqrtl=sqrt
22
23
23
.include <bsd.port.pre.mk>
24
.include <bsd.port.pre.mk>
24
25
25
.if ${OSVERSION} < 501000
26
.if ${OSVERSION} < 502114
26
BROKEN=         "does not compile"
27
CFLAGS+=	-Dround=rint
27
.endif
28
.endif
28
	
29
post-patch:
30
	${REINPLACE_CMD} -e 's|sqrtl|sqrt|' \
31
	${WRKSRC}/src/ball.cpp ${WRKSRC}/src/aiplayer.cpp
32
29
33
.include <bsd.port.post.mk>
30
.include <bsd.port.post.mk>

Return to bug 83153