summaryrefslogtreecommitdiff
path: root/math/polymake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/polymake/Makefile')
-rw-r--r--math/polymake/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/math/polymake/Makefile b/math/polymake/Makefile
index 55312ff415cd..b0a90401376f 100644
--- a/math/polymake/Makefile
+++ b/math/polymake/Makefile
@@ -1,6 +1,6 @@
PORTNAME= polymake
DISTVERSION= 4.13
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/V${DISTVERSION}/ \
https://polymake.org/lib/exe/fetch.php/download/
@@ -93,7 +93,7 @@ TESTS_DESC= Run bundled self tests after build
BLISS_CONFIGURE_ON= --with-bliss=${LOCALBASE}
BLISS_CONFIGURE_OFF= --without-bliss
-BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss
+BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss # does it need the tool or the library? LIB_DEPENDS should be used in the latter case.
BLISS_RUN_DEPENDS= bliss-graph-tool>=0.73:math/bliss
NAUTY_CONFIGURE_ON= --with-nauty=${LOCALBASE}
@@ -196,4 +196,10 @@ post-install-TESTS-on: test
test:
@cd ${WRKSRC} && HOME=${WRKDIR} perl/polymake --script run_testcases
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 504200
+BROKEN= polymake has not been checked for compatibility with perl 5.42 or newer
+.endif
+
+.include <bsd.port.post.mk>