Changeset 148197


Ignore:
Timestamp:
Apr 29, 2016, 1:33:14 PM (3 years ago)
Author:
mps@…
Message:

cfitsio: bump to 3.390

Location:
trunk/dports/science/cfitsio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/cfitsio/Portfile

    r144609 r148197  
    66
    77name                cfitsio
    8 version             3.340
     8version             3.390
    99categories          science
    1010license             zlib MIT {LGPL Noncommercial}
     
    3030worksrcdir          ${name}
    3131
    32 checksums           rmd160  6969940d71e4beef68daa004b5e829cd37c8a131 \
    33                     sha256  a228c1867a97ec3a3b2fec133f84b529475240300f7a72f1cf2e22d00eda7bb3
     32checksums           rmd160  515146dd69dfacc0a41f5d2727332c81b9fa501b \
     33                    sha256  62d3d8f38890275cc7a78f5e9a4b85d7053e75ae43e988f1e2390e539ba7f409
    3434
    35 patchfiles          patch-Makefile.in.diff \
    36                     patch-configure.diff
     35patchfiles          patch-configure.diff
    3736
    3837compilers.choose    fc
     
    6160        ${worksrcpath}/README \
    6261        [glob ${worksrcpath}/*.txt] \
    63         [glob ${worksrcpath}/*.ps] \
    64         [glob ${worksrcpath}/*.doc] \
    65         [glob ${worksrcpath}/*.tex] \
    6662        ${docdir}
    6763}
  • trunk/dports/science/cfitsio/files/patch-configure.diff

    r94480 r148197  
    1 --- configure.orig      2012-04-13 14:16:16.000000000 -0500
    2 +++ configure   2012-06-20 08:40:10.000000000 -0500
    3 @@ -3670,9 +3670,9 @@
     1--- configure.orig      2016-04-29 08:11:26.000000000 -0500
     2+++ configure   2016-04-29 08:21:19.000000000 -0500
     3@@ -4486,10 +4486,10 @@
    44         # Build for i386 & x86_64 architectures on Darwin 10.x or newer:
    55 
    6          case $system in
    7 -            Darwin-[56789]*)
     6         case $host in
     7-            *darwin[56789]*)
    88-                ;;
    99             *)
    10 +                ;;
     10-
     11+            ;;
    1112+            idontthinkso)
    12 
     13+           
    1314                 # Test to see whether the C compiler accepts the "-arch"
    1415                 # flags for building "universal" binaries (Apple XCode only):
    15 @@ -3891,10 +3891,10 @@
    16    darwin)
    17  
    18      case $system in
    19 -        Darwin-[56789]*)
    20 -            SHLIB_LD="$CC -dynamiclib"
     16                 SAVE_CFLAGS="$CFLAGS"
     17@@ -4723,10 +4723,10 @@
     18     CFITSIO_SHLIB="lib\${PACKAGE}.\${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}\${SHLIB_SUFFIX}"
     19     CFITSIO_SHLIB_SONAME="lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX}"
     20     case $host in
     21-        *darwin[56789]*)
     22-            SHLIB_LD="$CC -dynamiclib -install_name lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
    2123-            ;;
    22          *)
    23 +            SHLIB_LD="$CC -dynamiclib -install_name @@MPORTS_PREFIX@@/lib/libcfitsio.dylib"
    24 +            ;;
    25 +        idontthinkso)
     24-        *)
     25+         *)
     26+             SHLIB_LD="$CC -dynamiclib -install_name @@MPORTS_PREFIX@@/lib/libcfitsio.dylib"
     27+             ;;
     28+         idontthinkso)
    2629             # Build for i386 & x86_64 architectures on Darwin 10.x or newer:
    27              SHLIB_LD="$CC -dynamiclib $C_UNIV_SWITCH"
     30             SHLIB_LD="$CC -dynamiclib $C_UNIV_SWITCH -headerpad_max_install_names -install_name @rpath/lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}"
    2831             ;;
Note: See TracChangeset for help on using the changeset viewer.