[96147] trunk/dports/audio/vorbis-tools/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 1 19:45:55 PDT 2012


Revision: 96147
          https://trac.macports.org/changeset/96147
Author:   jeremyhu at macports.org
Date:     2012-08-01 19:45:54 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
vorbis-tools: Fix a build issue by using -O3 instead of -O4

/usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/opt/local/include  -fno-common -O4 -Wall -fsigned-char -ffast-math -pipe -g3 -arch x86_64 -arch 
i386 -c charset.c
clang: error: cannot use 'lto-bc' output with multiple -arch options

Modified Paths:
--------------
    trunk/dports/audio/vorbis-tools/Portfile

Modified: trunk/dports/audio/vorbis-tools/Portfile
===================================================================
--- trunk/dports/audio/vorbis-tools/Portfile	2012-08-02 02:30:27 UTC (rev 96146)
+++ trunk/dports/audio/vorbis-tools/Portfile	2012-08-02 02:45:54 UTC (rev 96147)
@@ -54,6 +54,10 @@
   configure.args-delete --without-speex
 }
 
+post-patch {
+    reinplace "s|-O4|-O3|g" ${worksrcpath}/configure
+}
+
 post-destroot {
     file delete -force ${destroot}${prefix}/share/locale/locale.alias
     file delete -force ${destroot}${prefix}/lib/charset.alias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120801/3d60b171/attachment-0001.html>


More information about the macports-changes mailing list