Ticket #2951: mpfr.diff
File mpfr.diff, 1.1 KB (added by mww@…, 20 years ago) |
---|
-
Portfile
old new 4 4 5 5 name mpfr 6 6 version 2.1.1 7 revision 1 7 8 categories devel math 8 9 platforms darwin 9 10 maintainers leimy@opendarwin.org … … 18 19 homepage http://www.mpfr.org 19 20 master_sites http://www.mpfr.org/mpfr-current 20 21 checksums md5 b7eb5932ab86c78d13ed0569ad26af38 22 patchfiles patch-Makefile.in 21 23 22 24 depends_lib lib:libgmp.3:gmp 23 25 24 26 configure.args --infodir=\\\${prefix}/share/info --with-gmp=${prefix} 27 configure.env CFLAGS="-fno-common" LDFLAGS="-L${prefix}/lib" 28 29 build.args all libmpfr.${version}.dylib 25 30 26 31 post-destroot { 27 32 xinstall -d -m 755 ${destroot}${prefix}/share/${name} 28 33 xinstall -m 644 -v -W ${worksrcpath} mpfr.texi texinfo.tex \ 29 34 ${destroot}${prefix}/share/${name} 30 35 system "ranlib ${destroot}${prefix}/lib/libmpfr.a" 36 xinstall -m 644 ${worksrcpath}/libmpfr.${version}.dylib \ 37 ${destroot}${prefix}/lib 38 set ln "ln -s libmpfr.${version}.dylib" 39 system "cd ${destroot}${prefix}/lib && ${ln} libmpfr.2.1.dylib && ${ln} libmpfr.2.dylib && ${ln} libmpfr.dylib" 31 40 } 32 41 33 42 variant darwin x86 {