aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-06-12 09:48:45 +0800
committeredwin <edwin@FreeBSD.org>2005-06-12 09:48:45 +0800
commit627d885583bf113a0ffd9c4798ef02e690569a4a (patch)
treed84fbd36d3a492a493b19a4eb8b17cc2b0ec9d7b /games
parent4f9c6c560519bbac66c20c8beed85a66b62035a3 (diff)
downloadfreebsd-ports-graphics-627d885583bf113a0ffd9c4798ef02e690569a4a.tar.gz
freebsd-ports-graphics-627d885583bf113a0ffd9c4798ef02e690569a4a.tar.zst
freebsd-ports-graphics-627d885583bf113a0ffd9c4798ef02e690569a4a.zip
Fix building on 5.4. Thanks to oliver@ for lending a 5.4 jail.
Diffstat (limited to 'games')
-rw-r--r--games/xrally/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/games/xrally/Makefile b/games/xrally/Makefile
index e9f15e1f859..f4b381c9020 100644
--- a/games/xrally/Makefile
+++ b/games/xrally/Makefile
@@ -17,6 +17,7 @@ COMMENT= XRally is a Linux clone of the classic Rally X arcade game
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GCC= 2.95
+PTHREAD_LIBS= -lc_r
HAS_CONFIGURE= yes
USE_PTHREADS= yes
USE_BZIP2= yes
@@ -28,10 +29,4 @@ MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include" \
INCLUDES="-I${X11BASE}/include"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 504000
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>