Ignore:
Timestamp:
Mar 24, 2013, 3:10:41 AM (6 years ago)
Author:
sean@…
Message:

cmake-1.0.tcl: add extra logic to protect against bad configure option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

    r103440 r104377  
    8989    configure.args-append   -DCMAKE_BUILD_TYPE=debugFull
    9090}
     91
     92# cmake doesn't like --enable-debug, so in case a portfile sets
     93# --enable-debug (regardless of variant) we remove it
     94if {[string first "--enable-debug" ${configure.args}] > -1} {
     95    configure.args-delete     --enable-debug
     96}
Note: See TracChangeset for help on using the changeset viewer.