Changeset 47717


Ignore:
Timestamp:
Mar 4, 2009, 1:35:01 PM (11 years ago)
Author:
ryandesign@…
Message:

cairo, cairo-devel: wait until pre-extract phase to output warning for quartz variant

Location:
trunk/dports/graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/cairo-devel/Portfile

    r47716 r47717  
    110110platform macosx {}
    111111variant quartz requires macosx description {Add Quartz graphics interface} {
    112     if {${os.major} < 8} {
    113         ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
    114         return -code error "incompatible Mac OS X version"
     112    pre-extract {
     113        if {${os.major} < 8} {
     114            ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
     115            return -code error "incompatible Mac OS X version"
     116        }
    115117    }
    116118    configure.args-delete \
  • trunk/dports/graphics/cairo/Portfile

    r47716 r47717  
    110110platform macosx {}
    111111variant quartz requires macosx description {Add Quartz graphics interface} {
    112     if {${os.major} < 8} {
    113         ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
    114         return -code error "incompatible Mac OS X version"
     112    pre-extract {
     113        if {${os.major} < 8} {
     114            ui_msg "cairo's Quartz support is only available on Mac OS X 10.4 or greater"
     115            return -code error "incompatible Mac OS X version"
     116        }
    115117    }
    116118    configure.args-delete \
Note: See TracChangeset for help on using the changeset viewer.