[97033] trunk/dports/databases/mongodb/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 24 13:55:00 PDT 2012


Revision: 97033
          https://trac.macports.org/changeset/97033
Author:   ryandesign at macports.org
Date:     2012-08-24 13:55:00 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
mongodb: add note explaining how to install mongodb without upgrading dependencies (#35118)

Modified Paths:
--------------
    trunk/dports/databases/mongodb/Portfile

Modified: trunk/dports/databases/mongodb/Portfile
===================================================================
--- trunk/dports/databases/mongodb/Portfile	2012-08-24 20:49:12 UTC (rev 97032)
+++ trunk/dports/databases/mongodb/Portfile	2012-08-24 20:55:00 UTC (rev 97033)
@@ -54,9 +54,11 @@
     scan ${boost_version_int} {%1d%3d%2d} boost_major boost_minor boost_patch
     set boost_version "${boost_major}.${boost_minor}.${boost_patch}"
     if {[vercmp ${boost_version} 1.50] >= 0} {
-        ui_error "mongodb ${version} requires boost 1.49.x or older but you have boost ${boost_version}."
+        ui_error "mongodb ${version} requires boost 1.49.0 or older but you have boost ${boost_version}."
         ui_error "To downgrade boost, see https://trac.macports.org/wiki/howto/InstallingOlderPort"
         ui_error "or more specifically https://trac.macports.org/ticket/35118#comment:12"
+        ui_error "After installing boost 1.49.0, install mongodb without upgrading dependencies, i.e.:"
+        ui_error "    sudo port -n install mongodb"
         return -code error "boost ${boost_version} is too new"
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/7247d04f/attachment.html>


More information about the macports-changes mailing list