Changeset 147102


Ignore:
Timestamp:
Mar 27, 2016, 9:21:25 AM (3 years ago)
Author:
takeshi@…
Message:

netcdf-fortran: update to 4.4.3. fix univeral build

Location:
trunk/dports/science/netcdf-fortran
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/netcdf-fortran/Portfile

    r147088 r147102  
    66PortGroup                   mpi 1.0
    77PortGroup                   github 1.0
     8# Although CMakeLists.txt is provided nf-config is not yet ported.
    89
    910# netcdf-fortran does not require the fortran interface of hdf5.
     
    1213#mpi.enforce_variant         hdf5
    1314
    14 github.setup                Unidata netcdf-fortran 4.4.2 v
    15 revision                    1
     15github.setup                Unidata netcdf-fortran 4.4.3 v
    1616maintainers                 takeshi openmaintainer
    1717platforms                   darwin
     
    3030    for accessing netCDF data.
    3131
    32 checksums           md5     32f31b3ec1831a363efbad26663f2aae \
    33                     sha1    426242a39e235d4973c77a42eea7f84b6fd8e367 \
    34                     rmd160  fcbd9921999f830d9f2517956577aa1c1ffd36a0
     32checksums           rmd160  60de85d4b59b40ed4cc9698ef54a92c2cf6e686d \
     33                    sha256  d0ba76fa0bc27224ca53115da9a7fc27d1b14ee7e5a3c7dc2431133e93cdbaee
    3534
    3635compilers.choose    f77 f90 fc
     
    4746
    4847patchfiles          nawk.patch
     48if {[variant_isset universal]} {
     49    patchfiles-append   patch-Makefile.in.diff
     50}
    4951
    5052post-patch {
     
    6365}
    6466
    65 post-build {
    66     if {[variant_isset universal]} {
    67         set dirs {}
    68         foreach arch ${universal_archs_to_use} {
    69             lappend dirs ${worksrcpath}-${arch}
    70         }
    71     } else {
    72         set dirs ${worksrcpath}
    73     }
    74     foreach dir ${dirs} {
    75         reinplace -E {s/(-arch [a-z0-9_]+|-m32|-m64)//g} ${dir}/nf-config
    76     }
    77 }
    78 
    7967test.run                    yes
    8068test.target                 check
  • trunk/dports/science/netcdf-fortran/files/nawk.patch

    r142652 r147102  
    1 --- configure.orig      2015-02-02 15:37:32.000000000 -0600
    2 +++ configure   2015-11-18 12:54:25.000000000 -0600
    3 @@ -3236,7 +3236,7 @@
     1--- configure.orig      2016-01-21 07:49:54.000000000 +0900
     2+++ configure   2016-03-27 16:09:21.000000000 +0900
     3@@ -3226,7 +3226,7 @@
    44 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    55 $as_echo "$MKDIR_P" >&6; }
Note: See TracChangeset for help on using the changeset viewer.