Changeset 27258


Ignore:
Timestamp:
Jul 26, 2007, 7:03:56 AM (13 years ago)
Author:
takanori@…
Message:

use return instead of exit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kdelibs3/Portfile

    r26987 r27258  
    102102pre-configure   {
    103103                if {[file exists ${prefix}/bin/cups-config]} {
    104                         ui_msg "port:cups-headers may prevent building this port."
    105                         ui_msg "Please uninstall (or deactivate) cups-headers and restart the build."
    106                         exit 1
     104                        return -code error "port:cups-headers may prevent building this port. Please uninstall (or deactivate) cups-headers and restart the build."
    107105                }
    108106}
     
    123121
    124122platform darwin 6 {
    125                 ui_msg "Sorry, your platform is no longer supported."
    126                 exit 1
     123                pre-fetch {
     124                          return -code error "Sorry, your platform is no longer supported."
     125                }
    127126}
    128127
Note: See TracChangeset for help on using the changeset viewer.