summaryrefslogtreecommitdiff
path: root/science/netcdf
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-08-19 01:39:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-08-19 01:39:50 +0000
commit3189b50ba898e83ffa9ada6d168b7f0feff5f937 (patch)
treeab7689205aa2e4a3da5d3b3b3dab62ea26363823 /science/netcdf
parent- Convert to new options dependency helper (diff)
- Convert to new options helper
Notes
Notes: svn path=/head/; revision=394669
Diffstat (limited to 'science/netcdf')
-rw-r--r--science/netcdf/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index 00f647af5124..4278a660ed5c 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -36,15 +36,12 @@ DAP_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
DOXYGEN_CONFIGURE_OFF= --disable-doxygen
DOXYGEN_CONFIGURE_ON= --enable-doxygen
+DOXYGEN_PORTDOCS= *
SZIP_LIB_DEPENDS= libsz.so:${PORTSDIR}/science/szip
SZIP_LIBS= -lsz
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOXYGEN}
-PORTDOCS= *
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-ldl ||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|mmap|_&|g' ${WRKSRC}/nc_test/tst_diskless.c ${WRKSRC}/nc_test/tst_diskless3.c