summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/ltris/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 33f84f7..7893452 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>
OpenPOWER on IntegriCloud