[140526] trunk/dports/databases/mongodb/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 21 12:46:54 PDT 2015
Revision: 140526
https://trac.macports.org/changeset/140526
Author: ryandesign at macports.org
Date: 2015-09-21 12:46:53 -0700 (Mon, 21 Sep 2015)
Log Message:
-----------
mongodb: use a short variant-dir to avoid "Argument list too long" errors in some configurations
Modified Paths:
--------------
trunk/dports/databases/mongodb/Portfile
Modified: trunk/dports/databases/mongodb/Portfile
===================================================================
--- trunk/dports/databases/mongodb/Portfile 2015-09-21 19:46:32 UTC (rev 140525)
+++ trunk/dports/databases/mongodb/Portfile 2015-09-21 19:46:53 UTC (rev 140526)
@@ -63,6 +63,11 @@
--use-system-snappy \
--extralib=pcre,pcrecpp,snappy
+# Specify a short variant dir because the default variant dir is deeply nested
+# and can be very long, so long that on some systems the build will fail with
+# "Argument list too long"; see https://jira.mongodb.org/browse/SERVER-13829
+build.args-append --variant-dir=MP
+
supported_archs i386 x86_64
lappend merger_build_args(i386) --32
lappend merger_build_args(x86_64) --64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150921/b66f2736/attachment.html>
More information about the macports-changes
mailing list