Ticket #40989: atlas-worksrcdir.diff
File atlas-worksrcdir.diff, 2.0 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
47 47 rmd160 8740c35c9a85b71424fe1ffeed192256aebeb431 \ 48 48 sha256 60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0 49 49 50 worksrcdir ATLAS 51 50 52 compiler.blacklist macports-clang-3.1 macports-clang-3.0 \ 51 53 macports-clang-2.9 52 54 … … 371 373 # Phases 372 374 # Work around some bugs in the 3.10.1 tarball: 373 375 # https://code.google.com/p/libarchive/issues/detail?id=299 374 # https://sourceforge.net/p/math-atlas/support-request /884376 # https://sourceforge.net/p/math-atlas/support-requests/884/ 375 377 376 378 extract.post_args-replace -xf -xkf 377 379 extract.post_args-append {|| true} 378 380 379 post-extract {380 move ${workpath}/ATLAS ${worksrcpath}381 }382 383 381 post-patch { 384 382 if {${build_arch} == "ppc" || ${build_arch} == "ppc64"} { 385 383 … … 686 684 [join [split $merger_configure_args(${arch}) "{}"]] 687 685 688 686 # Create ${arch} build tree 689 copy ${workpath}/${name}-${version} \ 690 ${workpath}/${name}-${version}-${arch} 691 file mkdir ${workpath}/${name}-${version}-${arch}/build 687 copy ${worksrcpath} ${worksrcpath}-${arch} 688 file mkdir ${worksrcpath}-${arch}/build 692 689 } 693 690 } 694 691 … … 723 720 724 721 foreach arch ${universal_archs_to_use} { 725 722 726 lappend atlas_paths ${work path}/${name}-${version}-${arch}723 lappend atlas_paths ${worksrcpath}-${arch} 727 724 } 728 725 } else { 729 726 … … 782 779 783 780 foreach arch ${universal_archs_to_use} { 784 781 785 set libdir ${work path}/${name}-${version}-${arch}/build/lib782 set libdir ${worksrcpath}-${arch}/build/lib 786 783 reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \ 787 784 ${libdir}/Makefile 788 785 reinplace "s|dynamic|dynamiclib|g" ${libdir}/Makefile