[96155] trunk/dports/gnome/gst-plugins-good/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 1 21:02:53 PDT 2012


Revision: 96155
          https://trac.macports.org/changeset/96155
Author:   jeremyhu at macports.org
Date:     2012-08-01 21:02:53 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
gst-plugins-good: Build fix, skip bad mmx on i386

Modified Paths:
--------------
    trunk/dports/gnome/gst-plugins-good/Portfile

Modified: trunk/dports/gnome/gst-plugins-good/Portfile
===================================================================
--- trunk/dports/gnome/gst-plugins-good/Portfile	2012-08-02 03:58:22 UTC (rev 96154)
+++ trunk/dports/gnome/gst-plugins-good/Portfile	2012-08-02 04:02:53 UTC (rev 96155)
@@ -47,9 +47,10 @@
       
 use_bzip2   yes
 
-pre-configure {
-    reinplace "s|OBJC = gcc|OBJC = @OBJC@|" ${worksrcpath}/sys/osxvideo/Makefile.in
-    reinplace "s|-DGST_DISABLE_DEPRECATED||" ${worksrcpath}/configure
+post-patch {
+    # gst/goom is the only thing using this, and its mmx code is buggy (as of 0.10.31)
+    reinplace "s|-DBUILD_MMX|-UBUILD_MMX|" ${worksrcpath}/gst/goom/Makefile.am
+    reinplace "/^MMX_FILES/s|=.*|=|"       ${worksrcpath}/gst/goom/Makefile.am
 }
 
 use_autoreconf          yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120801/d3643336/attachment.html>


More information about the macports-changes mailing list