[79668] trunk/dports/devel/libnotify/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jun 22 18:34:15 PDT 2011


Revision: 79668
          http://trac.macports.org/changeset/79668
Author:   ryandesign at macports.org
Date:     2011-06-22 18:34:15 -0700 (Wed, 22 Jun 2011)
Log Message:
-----------
libnotify: return -code error instead of just error

Modified Paths:
--------------
    trunk/dports/devel/libnotify/Portfile

Modified: trunk/dports/devel/libnotify/Portfile
===================================================================
--- trunk/dports/devel/libnotify/Portfile	2011-06-23 01:12:06 UTC (rev 79667)
+++ trunk/dports/devel/libnotify/Portfile	2011-06-23 01:34:15 UTC (rev 79668)
@@ -36,7 +36,7 @@
         #
         # For now, let's block this port on Lion while we investigate our options.
         ui_error "This port causes problems on Lion, so it will not be installed."
-        error "libnotify is not supported on Lion."
+        return -code error "libnotify is not supported on Lion."
     }
 
     pre-activate {
@@ -46,7 +46,7 @@
         #
         # For now, let's block this port on Lion while we investigate our options.
         ui_error "This port causes problems on Lion, so it will not be installed."
-        error "libnotify is not supported on Lion."
+        return -code error "libnotify is not supported on Lion."
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110622/1259646f/attachment-0001.html>


More information about the macports-changes mailing list