[61550] trunk/dports/devel/apr-util/Portfile

dluke at macports.org dluke at macports.org
Mon Dec 14 07:34:37 PST 2009


Revision: 61550
          http://trac.macports.org/changeset/61550
Author:   dluke at macports.org
Date:     2009-12-14 07:33:59 -0800 (Mon, 14 Dec 2009)
Log Message:
-----------
Apply nox's universal build fix patch (from #17090, fixes #22610)

Modified Paths:
--------------
    trunk/dports/devel/apr-util/Portfile

Modified: trunk/dports/devel/apr-util/Portfile
===================================================================
--- trunk/dports/devel/apr-util/Portfile	2009-12-14 12:50:18 UTC (rev 61549)
+++ trunk/dports/devel/apr-util/Portfile	2009-12-14 15:33:59 UTC (rev 61550)
@@ -62,6 +62,13 @@
 			reinplace "s|^Libs: |Libs: ${extralibs} |" $worksrcpath/apr-util.pc.in
 		}
 
+if {[variant_isset universal]} { 
+	pre-build {
+		build.args	EXTRA_CFLAGS='${configure.universal_cflags}' \ 
+				EXTRA_LDFLAGS='${configure.universal_ldflags}' 
+	}
+}
+
 variant postgresql84	description {Build with postgres support (using postgresql v8.4)} conflicts postgresql82 postgresql83 {
 				depends_lib-append port:postgresql84
 				configure.args-delete --without-pgsql
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091214/f63e9bf7/attachment.html>


More information about the macports-changes mailing list