aboutsummaryrefslogtreecommitdiffstats
path: root/audio/juk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/juk/Makefile')
-rw-r--r--audio/juk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/juk/Makefile b/audio/juk/Makefile
index 6c567ebdd326..d0fbb8169014 100644
--- a/audio/juk/Makefile
+++ b/audio/juk/Makefile
@@ -25,9 +25,15 @@ USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${ARCH}-portsbld-freebsd${OSREL}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g; s|-pedantic ||g; \
s|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>