[143525] trunk/dports/devel/xapian-core/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Mon Dec 14 04:49:34 PST 2015


Revision: 143525
          https://trac.macports.org/changeset/143525
Author:   mcalhoun at macports.org
Date:     2015-12-14 04:49:34 -0800 (Mon, 14 Dec 2015)
Log Message:
-----------
xapian-core: fix universal merge failure of file xapian-config

Modified Paths:
--------------
    trunk/dports/devel/xapian-core/Portfile

Modified: trunk/dports/devel/xapian-core/Portfile
===================================================================
--- trunk/dports/devel/xapian-core/Portfile	2015-12-14 12:43:41 UTC (rev 143524)
+++ trunk/dports/devel/xapian-core/Portfile	2015-12-14 12:49:34 UTC (rev 143525)
@@ -34,6 +34,15 @@
 
 depends_lib         port:zlib
 
+if { [variant_exists universal] && [variant_isset universal] } {
+    post-build {
+        foreach arch ${universal_archs_to_use} {
+            # xapian-config records build directory, which interferes with universal merge
+            reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${worksrcpath}-${arch}/xapian-config
+        }
+    }
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}download
 livecheck.regex     ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151214/e13f51ba/attachment.html>


More information about the macports-changes mailing list