Ticket #34271: python-1.0.tcl.diff
File python-1.0.tcl.diff, 1.2 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
python-1.0.tcl
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 # $Id$ 3 3 # 4 # Copyright (c) 2011 The MacPorts Project4 # Copyright (c) 2011-2014 The MacPorts Project 5 5 # 6 6 # Redistribution and use in source and binary forms, with or without 7 7 # modification, are permitted provided that the following conditions are … … 86 86 if {$action ne "set"} { 87 87 return 88 88 } 89 global name subport python._addedcode89 global configure.pkg_config_path name python.prefix python._addedcode subport 90 90 if {[string match py-* $name]} { 91 91 foreach v [option $option] { 92 92 subport py${v}[string trimleft $name py] { depends_lib port:python${v} } … … 112 112 set addcode 1 113 113 } 114 114 if {[info exists addcode] && ![info exists python._addedcode]} { 115 configure.pkg_config_path ${python.prefix}/lib/pkgconfig:${configure.pkg_config_path} 115 116 pre-build { 116 117 if {${python.add_archflags}} { 117 118 if {[variant_exists universal] && [variant_isset universal]} {