aboutsummaryrefslogtreecommitdiff
path: root/games/ltris
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-18 23:14:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-18 23:14:50 +0000
commit17ba9842ad06ad9b522fe2f6e274f6844718081f (patch)
treea3f08041783d9c4c43dae7d2c61d0d70320bccdc /games/ltris
parentfb23a1b0861db52ff7b6c97e85ca19b797b7f2b1 (diff)
downloadports-17ba9842ad06ad9b522fe2f6e274f6844718081f.tar.gz
ports-17ba9842ad06ad9b522fe2f6e274f6844718081f.zip
BROKEN on 5.x: Does not install with ache's getopt changes
Notes
Notes: svn path=/head/; revision=104555
Diffstat (limited to 'games/ltris')
-rw-r--r--games/ltris/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 33f84f75a05b..78934525f20f 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -21,6 +21,12 @@ USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502103
+BROKEN= "Does not install on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
@@ -33,4 +39,4 @@ post-install:
${CHMOD} 664 /var/games/${PORTNAME}/ltris.hscr
${CHOWN} root:games /var/games/${PORTNAME}/ltris.hscr
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>