Revision
68346
Author
mmoll@macports.org
Date
2010-06-01 14:58:44 -0700 (Tue, 01 Jun 2010)

Log Message

math/arpack: fix non-universal build. closes #25099

Modified Paths

Diff

Modified: trunk/dports/math/arpack/Portfile (68345 => 68346)


--- trunk/dports/math/arpack/Portfile	2010-06-01 21:47:57 UTC (rev 68345)
+++ trunk/dports/math/arpack/Portfile	2010-06-01 21:58:44 UTC (rev 68346)
@@ -107,13 +107,13 @@
 
         if { ![variant_isset universal] } {
             set fl [open ${worksrcpath}/Makefile "a"]
-            puts ${fl} "\n.PHONY install"
-            puts ${fl} "\t.install: ${stlibs} ${shlibs}"
+            puts ${fl} "\n.PHONY: install"
+            puts ${fl} "install: ${stlibs} ${shlibs}"
             foreach lib ${stlibs} {
-                puts ${fl} "\tinstall -m 644 -v ${lib}"
+                puts ${fl} "\tinstall -m 644 -v ${lib} ${destroot}${prefix}/lib"
             }
             foreach lib ${shlibs} {
-                puts ${fl} "\tinstall -m 755 -v ${lib}"
+                puts ${fl} "\tinstall -m 755 -v ${lib} ${destroot}${prefix}/lib"
             }
             close ${fl}
         } else {
@@ -148,7 +148,7 @@
 }
 
 variant gcc45 description {build with gfortran-mp-4.5} conflicts gcc42 gcc43 gcc44 {
-	depends_build-append    port:gcc44
+	depends_build-append    port:gcc45
 	configure.fc ${prefix}/bin/gfortran-mp-4.5
 }