[73863] trunk/dports/www/mnogosearch/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Nov 27 02:10:56 PST 2010
Revision: 73863
http://trac.macports.org/changeset/73863
Author: ryandesign at macports.org
Date: 2010-11-27 02:10:51 -0800 (Sat, 27 Nov 2010)
Log Message:
-----------
mnogosearch: only advise the user the indexer won't be built if user hasn't selected a database variant, and show this message before, not after, the configure phase; see #27134 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/www/mnogosearch/Portfile
Modified: trunk/dports/www/mnogosearch/Portfile
===================================================================
--- trunk/dports/www/mnogosearch/Portfile 2010-11-27 09:59:00 UTC (rev 73862)
+++ trunk/dports/www/mnogosearch/Portfile 2010-11-27 10:10:51 UTC (rev 73863)
@@ -32,12 +32,14 @@
--mandir=${prefix}/share/man --disable-static \
--with-openssl --with-zlib
-post-configure {
- ui_msg "\n\n-------------------------------------------------------------"
- ui_msg "Note: if you did not select any database variants, mnogosearch"
- ui_msg "will be built without the indexer (which may not be what you"
- ui_msg "wanted)."
- ui_msg "-------------------------------------------------------------\n\n"
+pre-configure {
+ if {![variant_isset mysql4] && ![variant_isset mysql5] && ![variant_isset postgresql7] && ![variant_isset postgresql81] && ![variant_isset postgresql83] && ![variant_isset postgresql84]} {
+ ui_msg "\n\n-------------------------------------------------------------"
+ ui_msg "Note: Because you did not select any database variants,"
+ ui_msg "${name} will be built without the indexer (which may not"
+ ui_msg "be what you wanted)."
+ ui_msg "-------------------------------------------------------------\n\n"
+ }
}
destroot.keepdirs ${destroot}${prefix}/var/mnogosearch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101127/8a8478c1/attachment.html>
More information about the macports-changes
mailing list