Ticket #33893: Portfile-wcslib.2.diff
File Portfile-wcslib.2.diff, 2.2 KB (added by jdswinbank (John Swinbank), 13 years ago) |
---|
-
Portfile
old new 1 # $Id : Portfile 90301 2012-03-01 17:27:30Z jmr@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 5 name wcslib 6 version 4. 8.46 version 4.13.4 7 7 categories science 8 8 license LGPL-3+ 9 9 platforms darwin … … 16 16 master_sites gentoo \ 17 17 ftp://ftp.atnf.csiro.au/pub/software/wcslib/ 18 18 use_bzip2 yes 19 checksums md5 e11147f58feca75110ffe770c0f53a3b\20 sha1 66c0be7b71aa66d0db7e68bb75c02e9f406c18c5\21 rmd160 23e9e4439eced5427986582ae534241499a7d56019 checksums md5 94a24c7abd7d8edc514ed10896cbf4f0 \ 20 sha1 ef6d9263ef6a1fa9409d6a9066c46d5747056212 \ 21 rmd160 fe8949f76ad2a07f7d27a186e7b7fdc38cc92057 22 22 depends_lib port:cfitsio 23 23 configure.args --disable-fortran 24 24 … … 31 31 depends_lib-append port:gcc44 \ 32 32 port:pgplot 33 33 configure.args-delete --disable-fortran 34 post-destroot { 35 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" 36 } 34 37 } 35 38 36 39 variant gcc45 conflicts gcc44 gcc46 description {Build with GCC 4.5; enables Fortran support} { … … 38 41 depends_lib-append port:gcc45 \ 39 42 port:pgplot 40 43 configure.args-delete --disable-fortran 44 post-destroot { 45 system "install_name_tool -change libwcs.${version}.dylib ${prefix}/lib/libwcs.${version}.dylib ${destroot}${prefix}/lib/libpgsbox.${version}.dylib" 46 } 41 47 } 42 48 43 49 variant gcc46 conflicts gcc44 gcc45 description {Build with GCC 4.6; enables Fortran support} { … … 45 51 depends_lib-append port:gcc46 \ 46 52 port:pgplot 47 53 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 } 48 57 }