aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-03-07 00:35:32 +0800
committertijl <tijl@FreeBSD.org>2014-03-07 00:35:32 +0800
commit4a10e026b19c2d4cd3261af21673d12e4a761368 (patch)
treea9ebd7662867e86d3ac6d63ca27b61651509f53b /science
parent3e25687a380a4dd06268ab5b6f10738551e0023d (diff)
downloadfreebsd-ports-gnome-4a10e026b19c2d4cd3261af21673d12e4a761368.tar.gz
freebsd-ports-gnome-4a10e026b19c2d4cd3261af21673d12e4a761368.tar.zst
freebsd-ports-gnome-4a10e026b19c2d4cd3261af21673d12e4a761368.zip
- Add USES=libtool to fix linker problem on FreeBSD/i386 8.x and
FreeBSD/ia64 (binutils too old). - Staging. PR: ports/186946 Approved by: sunpoet (maintainer)
Diffstat (limited to 'science')
-rw-r--r--science/netcdf/Makefile7
-rw-r--r--science/netcdf/pkg-plist8
2 files changed, 10 insertions, 5 deletions
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index b09b6d06cc23..636b6d93a560 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= netcdf
PORTVERSION= 3.6.3
-PORTREVISION?= 5
+PORTREVISION?= 6
CATEGORIES= science
MASTER_SITES= http://www.unidata.ucar.edu/downloads/netcdf/ftp/ \
ftp://ftp.unidata.ucar.edu/pub/netcdf/ \
@@ -19,17 +19,15 @@ PORTSCOUT= limit:^3\.
CONFIGURE_ARGS= --enable-shared
CPPFLAGS+= -I${LOCALBASE}/include -fPIC -DPIC
GNU_CONFIGURE= yes
+USES= libtool
USE_LDCONFIG= yes
INFO= netcdf netcdf-c netcdf-cxx netcdf-f77 netcdf-f90 \
netcdf-install netcdf-tutorial
-MAN1= ncdump.1 ncgen.1
-MAN3= netcdf.3
OPTIONS_DEFINE= FORTRAN DOCS
FORTRAN_DESC= Build library for Fortran
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -41,7 +39,6 @@ CONFIGURE_ARGS+=--disable-docs-install
.if ${PORT_OPTIONS:MFORTRAN}
CPPFLAGS+= -DpgiFortran
CONFLICTS+= netcdf-3.*
-MAN3+= netcdf_f77.3 netcdf_f90.3
PLIST_SUB+= FORTRAN=""
USES+= fortran
.else
diff --git a/science/netcdf/pkg-plist b/science/netcdf/pkg-plist
index 1780a6af93dd..3d67360110f0 100644
--- a/science/netcdf/pkg-plist
+++ b/science/netcdf/pkg-plist
@@ -11,14 +11,22 @@ lib/libnetcdf.a
lib/libnetcdf.la
lib/libnetcdf.so
lib/libnetcdf.so.4
+lib/libnetcdf.so.4.0.0
lib/libnetcdf_c++.a
lib/libnetcdf_c++.la
lib/libnetcdf_c++.so
lib/libnetcdf_c++.so.4
+lib/libnetcdf_c++.so.4.0.0
%%FORTRAN%%lib/libnetcdff.a
%%FORTRAN%%lib/libnetcdff.la
%%FORTRAN%%lib/libnetcdff.so
%%FORTRAN%%lib/libnetcdff.so.4
+%%FORTRAN%%lib/libnetcdff.so.4.0.0
+man/man1/ncdump.1.gz
+man/man1/ncgen.1.gz
+man/man3/netcdf.3.gz
+%%FORTRAN%%man/man3/netcdf_f77.3.gz
+%%FORTRAN%%man/man3/netcdf_f90.3.gz
%%PORTDOCS%%%%DOCSDIR%%/ncgen-man-1.html
%%PORTDOCS%%%%DOCSDIR%%/ncdump-man-1.html
%%PORTDOCS%%%%DOCSDIR%%/netcdf-c.html