Commits
Joshua Root authored 52ae3b943ec
161 161 | } |
162 162 | |
163 163 | # just use python27 with no python variants |
164 164 | |
165 165 | configure.python ${prefix}/bin/python2.7 |
166 166 | |
167 167 | depends_lib-append port:dbus-python27 \ |
168 168 | port:py27-gdbm |
169 169 | |
170 170 | depends_lib-append port:py27-gobject3 |
171 - | configure.pkg_config_path-append ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig |
171 + | configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig |
172 172 | |
173 173 | # see https://trac.macports.org/ticket/55054 |
174 174 | pre-configure { |
175 175 | configure.env-append PKG_CONFIG_PATH=[join ${configure.pkg_config_path} ":"] |
176 176 | configure.pkg_config_path |
177 177 | } |
178 178 | |
179 179 | if [variant_isset gtk] { |
180 180 | depends_lib-append port:py27-pygtk |
181 181 | configure.args-delete --disable-pygtk |