Revision
105593
Author
jeremyhu@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

Diff

Modified: trunk/dports/multimedia/MPlayer/Portfile (105592 => 105593)


--- 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 (105592 => 105593)


--- 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/*] \