mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- 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)
This commit is contained in:
parent
65a813492b
commit
7ca0b3fdac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347269
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user