aboutsummaryrefslogtreecommitdiffstats
path: root/math/scigraphica
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-09-26 11:11:57 +0800
committerkris <kris@FreeBSD.org>2004-09-26 11:11:57 +0800
commitf40ed67e216eca4715c54f0b6489464b8bda2b97 (patch)
tree4b1073e1c1514a257eb084cc15eae18363bfb77f /math/scigraphica
parent54d81b9db96a7c7be0a0d8b09ff6cc1dd0650cff (diff)
downloadfreebsd-ports-gnome-f40ed67e216eca4715c54f0b6489464b8bda2b97.tar.gz
freebsd-ports-gnome-f40ed67e216eca4715c54f0b6489464b8bda2b97.tar.zst
freebsd-ports-gnome-f40ed67e216eca4715c54f0b6489464b8bda2b97.zip
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Diffstat (limited to 'math/scigraphica')
-rw-r--r--math/scigraphica/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index 644100ffc465..115dc661cf18 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -32,6 +32,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -43,4 +49,4 @@ post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/scigraphica
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/scigraphica
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>