summaryrefslogtreecommitdiff
path: root/math/kaskade
diff options
context:
space:
mode:
Diffstat (limited to 'math/kaskade')
-rw-r--r--math/kaskade/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/kaskade/Makefile b/math/kaskade/Makefile
index 63a33c604731..027f73d23590 100644
--- a/math/kaskade/Makefile
+++ b/math/kaskade/Makefile
@@ -20,6 +20,12 @@ GNU_CONFIGURE= yes
DIST_SUBDIR= kaskade
WRKSRC= ${WRKDIR}/3.2.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
${CP} ${FILESDIR}/configure ${WRKSRC}
@@ -34,4 +40,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/data/*.mat ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>