diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-08 20:06:47 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-08 20:06:47 +0000 |
commit | 09c4de62a07b37956c6abd2df89bfa3c17ad51ac (patch) | |
tree | 6a0b06ad7ed4812e58c71e0e55ccba3dcc0e8852 /games/kbilliards | |
parent | fa70d64c5377bba7254dc04fe0732566b085c5f3 (diff) | |
download | ports-09c4de62a07b37956c6abd2df89bfa3c17ad51ac.tar.gz ports-09c4de62a07b37956c6abd2df89bfa3c17ad51ac.zip |
Notes
Diffstat (limited to 'games/kbilliards')
-rw-r--r-- | games/kbilliards/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/games/kbilliards/Makefile b/games/kbilliards/Makefile index 118b5d909d96..b769dfbaeb0d 100644 --- a/games/kbilliards/Makefile +++ b/games/kbilliards/Makefile @@ -12,22 +12,20 @@ MASTER_SITES= http://www.hostnotfound.it/kbilliards/ 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> |