aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-07-09 04:06:47 +0800
committerlofi <lofi@FreeBSD.org>2005-07-09 04:06:47 +0800
commite7bdde18b8232015953268b5445d4cd0c5edfb29 (patch)
treecc7929181752cd8be9d7fe6105a9d62828a13e85 /games
parent02e140f9e9df68eac2f453f3fc046234be482652 (diff)
downloadfreebsd-ports-gnome-e7bdde18b8232015953268b5445d4cd0c5edfb29.tar.gz
freebsd-ports-gnome-e7bdde18b8232015953268b5445d4cd0c5edfb29.tar.zst
freebsd-ports-gnome-e7bdde18b8232015953268b5445d4cd0c5edfb29.zip
Fix build on 4-stable.
PR: ports/83153 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'games')
-rw-r--r--games/kbilliards/Makefile12
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>