[53072] trunk/dports/math/atlas/Portfile
jameskyle at macports.org
jameskyle at macports.org
Sun Jun 28 19:49:43 PDT 2009
Revision: 53072
http://trac.macports.org/changeset/53072
Author: jameskyle at macports.org
Date: 2009-06-28 19:49:42 -0700 (Sun, 28 Jun 2009)
Log Message:
-----------
Changed the static ld -arch i386 to -arch ${os.arch}
Changed ld -install_name to tiger compatible -dylib_install_name
Modified Paths:
--------------
trunk/dports/math/atlas/Portfile
Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile 2009-06-29 02:35:29 UTC (rev 53071)
+++ trunk/dports/math/atlas/Portfile 2009-06-29 02:49:42 UTC (rev 53072)
@@ -153,29 +153,28 @@
pre-destroot {
# We have to manually create the dylib shared libs as the default build does not do this
- set ld "ld -dynamic -arch i386 -dylib -single_module -dead_strip -x \
+ set ld "ld -arch ${os.arch} -dynamic -dylib -single_module -dead_strip -x \
-all_load -L. -L${prefix}/lib/gcc43 -ldylib1.o -dylib_install_name"
system "cd ${workpath}/${name}-${version}/build/lib && \
- ${ld} libatlas.dylib libatlas.a -o libatlas.dylib -lSystem \
- -install_name ${prefix}/lib/libatlas.dylib"
+ ${ld} ${prefix}/lib/libatlas.dylib libatlas.a -o libatlas.dylib \
+ -lSystem"
system "cd ${workpath}/${name}-${version}/build/lib && \
- ${ld} libptcblas.dylib libptcblas.a -o libptcblas.dylib -latlas \
- -lSystem -install_name ${prefix}/lib/libptcblas.dylib \
- -compatibility_version 1.0.0 -current_version 218.0.0"
+ ${ld} ${prefix}/lib/libptcblas.dylib libptcblas.a -o \
+ libptcblas.dylib -latlas \
+ -lSystem -compatibility_version 1.0.0 -current_version 218.0.0"
system "cd ${workpath}/${name}-${version}/build/lib && \
- ${ld} libptf77blas.dylib libptf77blas.a -o libptf77blas.dylib \
+ ${ld} ${prefix}/lib/libptf77blas.dylib \
+ libptf77blas.a -o libptf77blas.dylib \
-lgfortran -latlas -lSystem \
- -install_name ${prefix}/lib/libptf77blas.dylib \
-compatibility_version 1.0.0 -current_version 218.0.0"
system "cd ${workpath}/${name}-${version}/build/lib && \
- ${ld} liblapack.dylib liblapack.a -o liblapack.dylib -lptf77blas \
- -lgfortran -lptcblas -latlas -lgcc_s.1 -lSystem \
- -install_name ${prefix}/lib/liblapack.dylib \
- -compatibility_version 1.0.0 -current_version 218.0.0"
+ ${ld} ${prefix}/lib/liblapack.dylib liblapack.a -o liblapack.dylib \
+ -lptf77blas -lgfortran -lptcblas -latlas -lgcc_s.1 -lSystem \
+ -compatibility_version 1.0.0 -current_version 218.0.0"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090628/8f2aecd4/attachment.html>
More information about the macports-changes
mailing list