Ignore:
Timestamp:
Jan 18, 2012, 6:24:05 AM (8 years ago)
Author:
jmr@…
Message:

make sure to only add pre-build and post-destroot code once

File:
1 edited

Legend:

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

    r89021 r89024  
    7676        return
    7777    }
    78     global name subport
     78    global name subport python._addedcode
    7979    if {[string match py-* $name]} {
    8080        foreach v [option $option] {
     
    102102        set addcode 1
    103103    }
    104     if {[info exists addcode]} {
     104    if {[info exists addcode] && ![info exists python._addedcode]} {
    105105        pre-build {
    106106            if {${python.add_archflags}} {
     
    137137            }
    138138        }
     139        set python._addedcode 1
    139140    }
    140141}
Note: See TracChangeset for help on using the changeset viewer.