[112110] trunk/dports/multimedia/libvpx/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Oct 11 21:53:26 PDT 2013


Revision: 112110
          https://trac.macports.org/changeset/112110
Author:   ryandesign at macports.org
Date:     2013-10-11 21:53:26 -0700 (Fri, 11 Oct 2013)
Log Message:
-----------
libvpx: fix permissions of installed header files so they're readable so other programs can actually use them

Modified Paths:
--------------
    trunk/dports/multimedia/libvpx/Portfile

Modified: trunk/dports/multimedia/libvpx/Portfile
===================================================================
--- trunk/dports/multimedia/libvpx/Portfile	2013-10-12 04:27:42 UTC (rev 112109)
+++ trunk/dports/multimedia/libvpx/Portfile	2013-10-12 04:53:26 UTC (rev 112110)
@@ -6,6 +6,7 @@
 
 name                libvpx
 version             1.2.0
+revision            1
 categories          multimedia
 maintainers         nomaintainer
 platforms           darwin
@@ -24,6 +25,18 @@
 
 depends_build       port:yasm
 
+post-extract {
+    # Fix incorrect permissions in 1.2.0 tarball
+    # causing files to be installed unreadably
+    # causing other ports needing libvpx to fail to find it.
+    # http://code.google.com/p/webm/issues/detail?id=644
+    fs-traverse item ${worksrcpath} {
+        if {[file isfile ${item}]} {
+            file attributes ${item} -permissions a+r
+        }
+    }
+}
+
 # patches for: 10.6; correct "universal" arch default selection; 'sed' scripts.
 patchfiles          patch-build-make-configure.sh.diff
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131011/aa9600f4/attachment-0001.html>


More information about the macports-changes mailing list