diff options
author | lofi <lofi@FreeBSD.org> | 2005-07-09 04:06:47 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-07-09 04:06:47 +0800 |
commit | e7bdde18b8232015953268b5445d4cd0c5edfb29 (patch) | |
tree | cc7929181752cd8be9d7fe6105a9d62828a13e85 /games | |
parent | 02e140f9e9df68eac2f453f3fc046234be482652 (diff) | |
download | freebsd-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/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> |