New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80051


Ignore:
Timestamp:
07/03/11 05:41:07 (4 years ago)
Author:
ryandesign@…
Message:

redland-bindings: update to 1.0.13.1 (#30010); prevent build error when no variant is selected (#23759); prevent build error when raptor port is installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/redland-bindings/Portfile

    r63908 r80051  
    44 
    55name                redland-bindings 
    6 version             1.0.10.1 
     6version             1.0.13.1 
    77description         Redland RDF Language Bindings 
    88long_description    Redland is a set of free software libraries that provide \ 
     
    1616master_sites        http://download.librdf.org/source/ 
    1717 
    18 checksums           md5 4b70555996b230c9e6671fc6e416e123 \ 
    19                     sha1 8c0248543881504850e2a705247fa787baa4754b  
     18checksums           sha1    a3dee2bcd5961917a951544654e147b49bf17434 \ 
     19                    rmd160  e07edd593c6e16d399b384268f99231b3c89026a 
    2020  
    2121depends_lib         port:redland 
    2222 
    23 configure.args      --mandir=${prefix}/share/man 
     23pre-configure { 
     24    if {![variant_isset perl5] && ![variant_isset php5] && ![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset ruby] && ![variant_isset tcl]} { 
     25        ui_error "You must select at least one variant." 
     26        return -code error "no variant selected" 
     27    } 
     28 
     29    foreach {badport badfile} "raptor ${prefix}/include/raptor.h" { 
     30        if {[file exists ${badfile}]} { 
     31            ui_error "${name} cannot be built while ${badport} is active." 
     32            ui_error "Please deactivate ${badport} and try again." 
     33            ui_error "You can reactivate ${badport} again later." 
     34            return -code error "${badport} is installed" 
     35        } 
     36    } 
     37} 
    2438 
    2539variant perl5 { 
Note: See TracChangeset for help on using the changeset viewer.