[95095] trunk/dports/science/hdf5/Portfile

cal at macports.org cal at macports.org
Thu Jul 5 12:29:52 PDT 2012


Revision: 95095
          https://trac.macports.org/changeset/95095
Author:   cal at macports.org
Date:     2012-07-05 12:29:51 -0700 (Thu, 05 Jul 2012)
Log Message:
-----------
hdf5: Fix rev-upgrade problem by not installing offending binary, closes #34494

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

Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile	2012-07-05 19:29:45 UTC (rev 95094)
+++ trunk/dports/science/hdf5/Portfile	2012-07-05 19:29:51 UTC (rev 95095)
@@ -5,7 +5,7 @@
 
 name                hdf5
 version             1.6.9
-revision            1
+revision            2
 categories          science
 license             NCSA
 maintainers         nomaintainer
@@ -40,6 +40,12 @@
     configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
 }
 
+post-destroot {
+    # remove h5perf, which is pretty useless and would cause a rev-upgrade warning because it links
+    # against libh5test.dylib, which is not being installed
+    file delete ${destroot}${prefix}/bin/h5perf
+}
+
 destroot.destdir    prefix=${destroot}${prefix}
 
 test.run            yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120705/09d2ea06/attachment.html>


More information about the macports-changes mailing list