aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-19 07:14:50 +0800
committerkris <kris@FreeBSD.org>2004-03-19 07:14:50 +0800
commit97b247596d8836e43545a056916746aa86f8fbf9 (patch)
tree166240fb7dbe259b3699a549c4964f0f53268d34 /games
parentd44f6e79aa606da16d9bf33dc965e625442e86b7 (diff)
downloadfreebsd-ports-gnome-97b247596d8836e43545a056916746aa86f8fbf9.tar.gz
freebsd-ports-gnome-97b247596d8836e43545a056916746aa86f8fbf9.tar.zst
freebsd-ports-gnome-97b247596d8836e43545a056916746aa86f8fbf9.zip
BROKEN on 5.x: Does not install with ache's getopt changes
Diffstat (limited to 'games')
-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>