[90333] trunk/dports/lang/f2c/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Mar 2 07:21:42 PST 2012


Revision: 90333
          http://trac.macports.org/changeset/90333
Author:   ryandesign at macports.org
Date:     2012-03-02 07:21:39 -0800 (Fri, 02 Mar 2012)
Log Message:
-----------
f2c: fix build on case-sensitive filesystems; see #33442

Modified Paths:
--------------
    trunk/dports/lang/f2c/Portfile

Modified: trunk/dports/lang/f2c/Portfile
===================================================================
--- trunk/dports/lang/f2c/Portfile	2012-03-02 13:33:44 UTC (rev 90332)
+++ trunk/dports/lang/f2c/Portfile	2012-03-02 15:21:39 UTC (rev 90333)
@@ -22,6 +22,15 @@
 
 depends_run         port:libf2c
 
+post-extract {
+    # For case-sensitive filesystems. When building the next version of the
+    # archive, I should ensure it contains README not readme, since readme is
+    # never used (?) but README is.
+    if {![file exists ${worksrcpath}/README]} {
+        ln -s readme ${worksrcpath}/README
+    }
+}
+
 use_configure       no
 
 variant universal {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120302/b2b106c5/attachment.html>


More information about the macports-changes mailing list