[105742] trunk/dports/gnome/keybinder/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri May 3 21:49:22 PDT 2013
Revision: 105742
https://trac.macports.org/changeset/105742
Author: ryandesign at macports.org
Date: 2013-05-03 21:49:22 -0700 (Fri, 03 May 2013)
Log Message:
-----------
py-keybinder: find dependencies properly (#38089)
Modified Paths:
--------------
trunk/dports/gnome/keybinder/Portfile
Modified: trunk/dports/gnome/keybinder/Portfile
===================================================================
--- trunk/dports/gnome/keybinder/Portfile 2013-05-04 03:45:53 UTC (rev 105741)
+++ trunk/dports/gnome/keybinder/Portfile 2013-05-04 04:49:22 UTC (rev 105742)
@@ -46,6 +46,10 @@
set python.version ${v}
set python.branch [string range ${python.version} 0 end-1].[string index ${python.version} end]
set python.bin ${prefix}/bin/python${python.branch}
+ set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+ if {${python.version} == 25} {
+ set python.prefix ${prefix}
+ }
subport py${python.version}-keybinder {
depends_lib-append port:${name} \
@@ -53,9 +57,11 @@
port:py${python.version}-pygtk
configure.args-append --enable-python \
- --disable-introspection
+ --disable-introspection \
+ ac_cv_path_PYGTK_CODEGEN=${prefix}/bin/pygtk-codegen-2.0-${python.branch}
configure.python ${python.bin}
+ configure.pkg_config_path ${python.prefix}/lib/pkgconfig
build.dir ${worksrcpath}/python-keybinder
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130503/230e2acb/attachment.html>
More information about the macports-changes
mailing list