Ticket #43766: Portfile-wcslib.2.diff

File Portfile-wcslib.2.diff, 2.6 KB (added by john@…, 10 years ago)
  • Portfile

    old new  
    55
    66name                wcslib
    77version             4.23
     8revision            1
    89categories          science
    910license             LGPL-3+
    1011platforms           darwin
     
    2425configure.args      --disable-fortran
    2526
    2627universal_variant   no
     28use_parallel_build  no
     29
     30patchfiles          patch-configure.diff
    2731
    2832livecheck.type      regex
    2933livecheck.url       http://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES
     
    3337    configure.compiler      macports-gcc-4.4
    3438    depends_lib-append      port:pgplot
    3539    configure.args-delete   --disable-fortran
    36     post-destroot {
    37         system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"
    38     }
    3940}
    4041
    4142variant gcc45 conflicts gcc44 gcc46 gcc47 gcc48 description {Build with GCC 4.5; enables Fortran support}  {
    4243    configure.compiler      macports-gcc-4.5
    4344    depends_lib-append      port:pgplot
    4445    configure.args-delete   --disable-fortran
    45     post-destroot {
    46         system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"
    47     }
    4846}
    4947
    5048variant gcc46 conflicts gcc44 gcc45 gcc47 gcc48 description {Build with GCC 4.6; enables Fortran support}  {
    5149    configure.compiler      macports-gcc-4.6
    5250    depends_lib-append      port:pgplot
    5351    configure.args-delete   --disable-fortran
    54     post-destroot {
    55         system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"
    56     }
    5752}
    5853
    5954variant gcc47 conflicts gcc44 gcc45 gcc46 gcc48 description {Build with GCC 4.7; enables Fortran support}  {
    6055    configure.compiler      macports-gcc-4.7
    6156    depends_lib-append      port:pgplot
    6257    configure.args-delete   --disable-fortran
    63     post-destroot {
    64         system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"
    65     }
    6658}
    6759
    6860variant gcc48 conflicts gcc44 gcc45 gcc46 gcc47 description {Build with GCC 4.8; enables Fortran support}  {
    6961    configure.compiler      macports-gcc-4.8
    7062    depends_lib-append      port:pgplot
    7163    configure.args-delete   --disable-fortran
    72     post-destroot {
    73         system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib"
    74     }
    7564}