aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/pari-devel/Makefile4
-rw-r--r--math/pari/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/math/pari-devel/Makefile b/math/pari-devel/Makefile
index 5cd13e29e8d9..65410939cb2e 100644
--- a/math/pari-devel/Makefile
+++ b/math/pari-devel/Makefile
@@ -34,6 +34,10 @@ MLINKS= gp.1 pari.1
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
HAVE_EMACS!= ${WHICH} emacs || ${ECHO} nope
.if ${HAVE_EMACS} != "nope"
PLIST= ${PKGDIR}/pkg-plist.emacs
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 4864c6fd8d56..e05a21f1321a 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -37,6 +37,10 @@ PLIST= ${PKGDIR}/pkg-plist.emacs
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif