[30943] trunk/dports/x11/xrender/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Nov 11 20:39:03 PST 2007


Revision: 30943
          http://trac.macosforge.org/projects/macports/changeset/30943
Author:   landonf at macports.org
Date:     2007-11-11 20:39:03 -0800 (Sun, 11 Nov 2007)

Log Message:
-----------
+universal fix

Modified Paths:
--------------
    trunk/dports/x11/xrender/Portfile

Modified: trunk/dports/x11/xrender/Portfile
===================================================================
--- trunk/dports/x11/xrender/Portfile	2007-11-12 03:36:51 UTC (rev 30942)
+++ trunk/dports/x11/xrender/Portfile	2007-11-12 04:39:03 UTC (rev 30943)
@@ -25,6 +25,15 @@
 depends_lib			lib:libX11.6:XFree86 \
 					port:render
 
+post-patch {
+    # Brute-force things into building with the universal LDFLAGS
+    if {[variant_isset universal]} {
+        reinplace "s|-dynamiclib|-dynamiclib ${configure.universal_ldflags}|g" \
+            ${worksrcpath}/configure \
+            ${worksrcpath}/ltmain.sh
+    }
+}
+
 post-destroot {
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071111/84f55e14/attachment.html


More information about the macports-changes mailing list