[55511] trunk/dports/math/arpack/Portfile

mmoll at macports.org mmoll at macports.org
Wed Aug 12 06:17:43 PDT 2009


Revision: 55511
          http://trac.macports.org/changeset/55511
Author:   mmoll at macports.org
Date:     2009-08-12 06:17:40 -0700 (Wed, 12 Aug 2009)
Log Message:
-----------
g95 does not accept -ff2c option. Patch by takeshi. Closes #20647.

Modified Paths:
--------------
    trunk/dports/math/arpack/Portfile

Modified: trunk/dports/math/arpack/Portfile
===================================================================
--- trunk/dports/math/arpack/Portfile	2009-08-12 12:53:35 UTC (rev 55510)
+++ trunk/dports/math/arpack/Portfile	2009-08-12 13:17:40 UTC (rev 55511)
@@ -21,6 +21,11 @@
 use_configure	no
 worksrcdir	ARPACK
 patchfiles	patch-arpack.diff
+post-patch { 
+    if {[variant_isset g95]} { 
+        reinplace "s|-ff2c||" ${worksrcpath}/ARmake.inc 
+    } 
+}
 build.args 	all home=${worksrcpath}
 destroot    {
    xinstall -m 644 -v -W ${worksrcpath} libarpack.a ${destroot}${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090812/768962e6/attachment-0001.html>


More information about the macports-changes mailing list