[80888] trunk/dports/science/hdfeos/Portfile

takeshi at macports.org takeshi at macports.org
Wed Jul 20 00:44:32 PDT 2011


Revision: 80888
          http://trac.macports.org/changeset/80888
Author:   takeshi at macports.org
Date:     2011-07-20 00:44:31 -0700 (Wed, 20 Jul 2011)
Log Message:
-----------
hdfeos: fixes #29811

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

Modified: trunk/dports/science/hdfeos/Portfile
===================================================================
--- trunk/dports/science/hdfeos/Portfile	2011-07-20 07:34:53 UTC (rev 80887)
+++ trunk/dports/science/hdfeos/Portfile	2011-07-20 07:44:31 UTC (rev 80888)
@@ -29,6 +29,11 @@
                             --with-szlib=${prefix} \
                             --disable-dependency-tracking
 configure.cc                ${prefix}/bin/h4cc
+if {[variant_isset universal]} {
+    post-patch {
+        reinplace "s|/lib/cpp|/usr/bin/cpp|g" ${worksrcpath}/configure
+    }
+}
 post-destroot {
     eval xinstall -m 644 [glob ${worksrcpath}/include/*.h] \
         ${destroot}${prefix}/include
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110720/305a4605/attachment.html>


More information about the macports-changes mailing list