Ticket #44460: Portfile.diff
File Portfile.diff, 2.5 KB (added by josephsacco, 10 years ago) |
---|
-
(a) Portfile- vs. (b) Portfile
a b 8 8 license BSD 9 9 name atlas 10 10 version 3.10.2 11 revision 1 11 12 use_bzip2 yes 12 13 13 14 # additional versions … … 37 38 38 39 extract.only ${atlasdist} 39 40 40 patchfiles patch-archinfo_x86_c.diff 41 patchfiles patch-archinfo_x86_c.diff \ 42 patch-emit_mm_c.diff \ 43 patch-makes-Make.lib.diff 41 44 42 45 checksums atlas3.10.2.tar.bz2 \ 43 46 rmd160 af4099e8bb65f5d771618ca1580f5bc8210f83fe \ … … 774 777 build.target build 775 778 build.dir ${worksrcpath}/build 776 779 777 #post-build {778 #if {${universal} == 0} {779 # 780 #set libdir ${build.dir}/lib781 #reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \782 #${libdir}/Makefile780 post-build { 781 if {${universal} == 0} { 782 783 set libdir ${build.dir}/lib 784 reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \ 785 ${libdir}/Makefile 783 786 784 787 # On mono-processors machines, build libsatlas.dylib only 785 #if {${no_threads} == 1} {786 # 787 #system -W ${libdir} "${build.cmd} dylib"788 #} else {789 # 790 #system -W ${libdir} "${build.cmd} shared_all"791 #}792 #} else {793 # 794 #foreach arch ${universal_archs_to_use} {795 796 #set libdir ${worksrcpath}-${arch}/build/lib797 #reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \798 #${libdir}/Makefile788 if {${no_threads} == 1} { 789 790 system -W ${libdir} "${build.cmd} dylib" 791 } else { 792 793 system -W ${libdir} "${build.cmd} shared_all" 794 } 795 } else { 796 797 foreach arch ${universal_archs_to_use} { 798 799 set libdir ${worksrcpath}-${arch}/build/lib 800 reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \ 801 ${libdir}/Makefile 799 802 800 803 # Same as above 801 #if {${no_threads} == 1} {804 if {${no_threads} == 1} { 802 805 803 #system -W ${libdir} "${build.cmd} dylib"804 #} else {806 system -W ${libdir} "${build.cmd} dylib" 807 } else { 805 808 806 #system -W ${libdir} "${build.cmd} shared_all"807 #}808 #}809 #}810 #}809 system -W ${libdir} "${build.cmd} shared_all" 810 } 811 } 812 } 813 } 811 814 812 815 destroot.dir ${build.dir} 813 816 destroot.destdir DESTDIR=${destroot}${prefix}