Changeset 98544
- Timestamp:
- Oct 8, 2012, 1:25:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/atlas/Portfile
r98181 r98544 8 8 name atlas 9 9 version 3.10.0 10 revision 1 10 11 11 12 # additional versions 12 set lapackversion 3.4. 113 set lapackversion 3.4.2 13 14 set lapackname lapack 14 15 set atlasdist ${name}${version}.tar.bz2 … … 37 38 rmd160 4e969dfee2662c536e2f2bfc49b51e8ef5bc2c94 \ 38 39 sha256 a90a2e3463504e3297b56edc13769d766732e82bd8f1de951cfc78444f148465 \ 39 lapack-3.4. 1.tgz \40 rmd160 3b715aff2924b47a45433376cfb9b66ffeeeb46d\41 sha256 93b910f94f6091a2e71b59809c4db4a14655db527cfc5821ade2e8c8ab75380f40 lapack-3.4.2.tgz \ 41 rmd160 8740c35c9a85b71424fe1ffeed192256aebeb431 \ 42 sha256 60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0 42 43 43 44 … … 431 432 432 433 if {[variant_isset universal]} { 433 set archs ${universal_archs_to_use} 434 } else { 435 set archs ${build_arch} 436 } 437 438 foreach arch ${archs} { 439 if {![variant_isset universal]} { 440 set atlas_path ${workpath}/${name}-${version} 441 } else { 442 set atlas_path ${workpath}/${name}-${version}-${arch} 443 } 444 445 file mkdir ${atlas_path}/build 434 foreach arch ${universal_archs_to_use} { 435 file mkdir ${workpath}/${name}-${version}-${arch}/build 436 } 437 } else { 438 file mkdir ${workpath}/${name}-${version}/build 446 439 } 447 440 } … … 483 476 484 477 post-build { 485 reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \ 486 ${build.dir}/lib/Makefile 487 reinplace "s|dynamic|dynamiclib|g" \ 488 ${build.dir}/lib/Makefile 489 system "cd ${build.dir}/lib && ${build.cmd} shared_all" 478 if {! [variant_isset universal]} { 479 reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \ 480 ${build.dir}/lib/Makefile 481 reinplace "s|dynamic|dynamiclib|g" \ 482 ${build.dir}/lib/Makefile 483 system "cd ${build.dir}/lib && ${build.cmd} shared_all" 484 } else { 485 foreach arch ${universal_archs_to_use} { 486 reinplace "s|^LIBTOOL=.*$|LIBTOOL=\$\(GCC\) \$\(GCCFLAGS\)|" \ 487 ${workpath}/${name}-${version}-${arch}/build/lib/Makefile 488 reinplace "s|dynamic|dynamiclib|g" \ 489 ${workpath}/${name}-${version}-${arch}/build/lib/Makefile 490 system "cd ${workpath}/${name}-${version}-${arch}/build/lib && \ 491 ${build.cmd} shared_all" 492 } 493 } 490 494 } 491 495
Note: See TracChangeset
for help on using the changeset viewer.