[60148] trunk/dports/devel/libical/Portfile
jmr at macports.org
jmr at macports.org
Tue Nov 3 01:55:32 PST 2009
Revision: 60148
http://trac.macports.org/changeset/60148
Author: jmr at macports.org
Date: 2009-11-03 01:55:28 -0800 (Tue, 03 Nov 2009)
Log Message:
-----------
libical: use cc_archflags rather than universal_ldflags when not building universal
Modified Paths:
--------------
trunk/dports/devel/libical/Portfile
Modified: trunk/dports/devel/libical/Portfile
===================================================================
--- trunk/dports/devel/libical/Portfile 2009-11-03 07:42:58 UTC (rev 60147)
+++ trunk/dports/devel/libical/Portfile 2009-11-03 09:55:28 UTC (rev 60148)
@@ -20,7 +20,11 @@
patchfiles patch-src-libical-icaltz-util.c.diff
post-configure {
- reinplace "s|CC -dynamiclib|CC ${configure.universal_ldflags} -dynamiclib|g" ${worksrcpath}/libtool
+ if {[variant_isset universal]} {
+ reinplace "s|CC -dynamiclib|CC ${configure.universal_ldflags} -dynamiclib|g" ${worksrcpath}/libtool
+ } else {
+ reinplace "s|CC -dynamiclib|CC ${configure.cc_archflags} -dynamiclib|g" ${worksrcpath}/libtool
+ }
}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*) released"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091103/9fe53c6f/attachment.html>
More information about the macports-changes
mailing list