summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-02-05 06:00:34 +0000
committerkris <kris@FreeBSD.org>2004-02-05 06:00:34 +0000
commit9e92b7c8fa0f9f95ad386584211acba5610e94e4 (patch)
tree53018d32b4c0f3ff36455d834f17fb17c5475958 /math
parent401e9a5d38f0c8b7b04e96cda97f903dcbbc0c14 (diff)
downloadFreeBSD-ports-9e92b7c8fa0f9f95ad386584211acba5610e94e4.zip
FreeBSD-ports-9e92b7c8fa0f9f95ad386584211acba5610e94e4.tar.gz
BROKEN: Does not compile on 5.x
Diffstat (limited to 'math')
-rw-r--r--math/netcdf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/netcdf/Makefile b/math/netcdf/Makefile
index 13a6bf9..1270af1 100644
--- a/math/netcdf/Makefile
+++ b/math/netcdf/Makefile
@@ -24,6 +24,12 @@ INSTALLS_SHLIB= yes
MAN1= ncdump.1 ncgen.1
MAN3= netcdf.3 netcdf.3f
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502000
+BROKEN= "Does not compile"
+.endif
+
post-build:
@(cd ${WRKSRC}/libsrc && \
${SETENV} ${MAKE_ENV} ${MAKE} linux_shared_library)
@@ -36,4 +42,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/cxx/libnetcdf_c++.so ${PREFIX}/lib/libnetcdf_c++.so.1
${LN} -sf libnetcdf_c++.so.1 ${PREFIX}/lib/libnetcdf_c++.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud