diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template index ea81148bdc2..185d4ed7300 100644 --- a/srcpkgs/pygtk/template +++ b/srcpkgs/pygtk/template @@ -19,14 +19,10 @@ checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912 do_configure() { if [ "$CROSS_BUILD" ]; then - # XXX share python-config wrapper for all pkgs. - # create a python-config wrapper to fake --includes - install -m755 ${XBPS_SRCPKGDIR}/py2cairo/files/python-config ${wrksrc} - export PATH=${wrksrc}:$PATH + ln -s ${wrksrc}/.xbps/bin/python-config ${wrksrc} fi env PYTHON=python ./configure ${configure_args} } - post_install() { vinstall gtk/gtk-extrafuncs.defs 644 usr/share/pygtk/2.0/defs }