[27455] trunk/dports/multimedia/libogg/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 4 01:30:07 PDT 2007


Revision: 27455
          http://trac.macosforge.org/projects/macports/changeset/27455
Author:   ryandesign at macports.org
Date:     2007-08-04 01:30:07 -0700 (Sat, 04 Aug 2007)

Log Message:
-----------
libogg: fix universal variant, when building on Intel Macs at least. Closes #12068.

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

Modified: trunk/dports/multimedia/libogg/Portfile
===================================================================
--- trunk/dports/multimedia/libogg/Portfile	2007-08-04 08:25:53 UTC (rev 27454)
+++ trunk/dports/multimedia/libogg/Portfile	2007-08-04 08:30:07 UTC (rev 27455)
@@ -13,3 +13,9 @@
 platforms        darwin
 master_sites     http://downloads.xiph.org/releases/ogg/
 checksums        sha1 a3e495a8baf6939efad7e0bd11cc0e466838c3db
+
+post-configure {
+	if {[variant_isset universal]} {
+		reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
+	}
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070804/0b660a10/attachment.html


More information about the macports-changes mailing list