[MacPorts] #36800: netcdf-fortran @4.2_5+gcc43 nc-config broken

MacPorts noreply at macports.org
Mon Oct 29 13:47:41 PDT 2012


#36800: netcdf-fortran @4.2_5+gcc43 nc-config broken
--------------------------------------+--------------------------------
 Reporter:  zaron@…                   |      Owner:  macports-tickets@…
     Type:  defect                    |     Status:  new
 Priority:  Normal                    |  Milestone:
Component:  ports                     |    Version:  2.1.2
 Keywords:  netcdf nc-config fortran  |       Port:  netcdf-fortran
--------------------------------------+--------------------------------
 After fresh upgrade of netcdf-fortran, a call to /opt/local/bin/nc-config
 yields the following output:
 {{{
 This netCDF 4.2 has been built with the following features:

   --cc        -> /usr/bin/gcc-4.2
   --cflags    ->  -I/opt/local/include -I/opt/local/include -DNDEBUG
   --libs      -> -L/opt/local/lib -lnetcdf

   --cxx       -> @CXX@
   --has-c++   -> @HAS_CXX@

   --fc        -> @FC@
   --fflags    -> @FFLAGS@ @MOD_FLAG@/opt/local/include
   --flibs     -> -L/opt/local/lib @NC_FLIBS@
   --has-f77   -> @HAS_F77@
   --has-f90   -> @HAS_F90@

   --has-dap   -> yes
   --has-nc2   -> yes
   --has-nc4   -> yes
   --has-hdf5  -> yes
   --has-hdf4  -> no
   --has-pnetcdf-> no
   --has-szlib ->

   --prefix    -> /opt/local
   --includedir-> /opt/local/include
   --version   -> netCDF 4.2
 }}}

 I don't know if this is a problem with netcdf or netcdf-fortran.

 I expected the result of "nc-config --fc" to be
 {{{
 /opt/local/bin/gfortran-mp-4.3
 }}}

 Could this be related to gcc_select command, which now seems to be
 internal to macports? I tried selecting gcc43, but still received the same
 output reported above.

 "uname -a" yields
 {{{
 Darwin myhost.xxx.yyy.edu 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7
 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36800>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list