[42377] trunk/dports/security/cyrus-sasl2/Portfile

jmr at macports.org jmr at macports.org
Wed Nov 19 21:17:08 PST 2008


Revision: 42377
          http://trac.macports.org/changeset/42377
Author:   jmr at macports.org
Date:     2008-11-19 21:17:07 -0800 (Wed, 19 Nov 2008)
Log Message:
-----------
cyrus-sasl2: fix upgrade instructions

Modified Paths:
--------------
    trunk/dports/security/cyrus-sasl2/Portfile

Modified: trunk/dports/security/cyrus-sasl2/Portfile
===================================================================
--- trunk/dports/security/cyrus-sasl2/Portfile	2008-11-20 05:01:47 UTC (rev 42376)
+++ trunk/dports/security/cyrus-sasl2/Portfile	2008-11-20 05:17:07 UTC (rev 42377)
@@ -44,10 +44,12 @@
 
 use_parallel_build  yes
 
-pre-build {
+pre-configure {
     if {[file exists ${prefix}/lib/libsasl2.dylib]} {
-        ui_error "cyrus-sasl2 must be deactivated before upgrade."
-        error "Please run `sudo port deactivate cyrus-sasl2` and try again."
+        ui_error "cyrus-sasl2 will not build when another version is active."
+        ui_error "Please deactivate or uninstall cyrus-sasl2, and then install"
+        ui_error "the new version with `sudo port install cyrus-sasl2`."
+        error "cyrus-sasl2 upgrade failed"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081119/6b772082/attachment.html>


More information about the macports-changes mailing list