[41840] trunk/dports/devel/clucene/Portfile

illogic-al at macports.org illogic-al at macports.org
Mon Nov 10 18:29:22 PST 2008


Revision: 41840
          http://trac.macports.org/changeset/41840
Author:   illogic-al at macports.org
Date:     2008-11-10 18:29:22 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
Make sure clucene 0.9.20 actually does universal build when it says so. Fixes ticket #17187.

Modified Paths:
--------------
    trunk/dports/devel/clucene/Portfile

Modified: trunk/dports/devel/clucene/Portfile
===================================================================
--- trunk/dports/devel/clucene/Portfile	2008-11-11 02:03:32 UTC (rev 41839)
+++ trunk/dports/devel/clucene/Portfile	2008-11-11 02:29:22 UTC (rev 41840)
@@ -17,3 +17,9 @@
 homepage                http://clucene.sourceforge.net/
 master_sites    sourceforge
 checksums               sha1 a60a360b9ce9048d65e5de8f0ae21a3f2638b22c
+
+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/20081110/d3f34d83/attachment.html>


More information about the macports-changes mailing list