[105593] trunk/dports/multimedia

jeremyhu at macports.org jeremyhu at macports.org
Fri Apr 26 08:51:17 PDT 2013


Revision: 105593
          https://trac.macports.org/changeset/105593
Author:   jeremyhu at macports.org
Date:     2013-04-26 08:51:16 -0700 (Fri, 26 Apr 2013)
Log Message:
-----------
MPlayer, mplayer-devel: Fix altivec related build failure (#38935)

Modified Paths:
--------------
    trunk/dports/multimedia/MPlayer/Portfile
    trunk/dports/multimedia/mplayer-devel/Portfile

Modified: trunk/dports/multimedia/MPlayer/Portfile
===================================================================
--- trunk/dports/multimedia/MPlayer/Portfile	2013-04-26 15:46:22 UTC (rev 105592)
+++ trunk/dports/multimedia/MPlayer/Portfile	2013-04-26 15:51:16 UTC (rev 105593)
@@ -79,6 +79,13 @@
 
 patchfiles configure.x11.patch
 
+post-patch {
+    # https://trac.macports.org/ticket/38935
+    reinplace "s|-maltivec|-faltivec -maltivec|g" \
+        ${worksrcpath}/configure \
+        ${worksrcpath}/ffmpeg/configure
+}
+
 post-destroot {
     xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
     eval file copy [glob ${worksrcpath}/DOCS/*] \

Modified: trunk/dports/multimedia/mplayer-devel/Portfile
===================================================================
--- trunk/dports/multimedia/mplayer-devel/Portfile	2013-04-26 15:46:22 UTC (rev 105592)
+++ trunk/dports/multimedia/mplayer-devel/Portfile	2013-04-26 15:51:16 UTC (rev 105593)
@@ -89,6 +89,13 @@
 
 patchfiles configure.x11.patch configure.vorbis.patch
 
+post-patch {
+    # https://trac.macports.org/ticket/38935
+    reinplace "s|-maltivec|-faltivec -maltivec|g" \
+        ${worksrcpath}/configure \
+        ${worksrcpath}/ffmpeg/configure
+}
+
 post-destroot {
     xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
     eval file copy [glob ${worksrcpath}/DOCS/*] \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130426/0090283e/attachment.html>


More information about the macports-changes mailing list