[80920] trunk/dports/science/hdf4/Portfile

takeshi at macports.org takeshi at macports.org
Wed Jul 20 18:55:06 PDT 2011


Revision: 80920
          http://trac.macports.org/changeset/80920
Author:   takeshi at macports.org
Date:     2011-07-20 18:55:06 -0700 (Wed, 20 Jul 2011)
Log Message:
-----------
hdf4: fixes #30260

Modified Paths:
--------------
    trunk/dports/science/hdf4/Portfile

Modified: trunk/dports/science/hdf4/Portfile
===================================================================
--- trunk/dports/science/hdf4/Portfile	2011-07-21 01:25:17 UTC (rev 80919)
+++ trunk/dports/science/hdf4/Portfile	2011-07-21 01:55:06 UTC (rev 80920)
@@ -5,6 +5,7 @@
 
 name                hdf4
 version             4.2.6
+revision            1
 platforms           darwin
 categories          science
 maintainers         takeshi
@@ -31,6 +32,11 @@
 configure.cppflags-delete   -I${prefix}/include
 configure.ldflags-delete    -L${prefix}/lib
 
+post-configure {
+# remove -arch from h4cc to fix failure of h4cc -E with +universal
+    reinplace -E {s|-arch [a-z0-9_]+||g} ${worksrcpath}/hdf/util/h4cc
+}
+
 test.run            yes
 test.target         check
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110720/8d9ba1b2/attachment.html>


More information about the macports-changes mailing list