From d53e3919ad44b75ad5a63f3aca60e404a829c003 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 28 Jan 2015 08:21:31 +0100 Subject: [PATCH] pygtk: unbreak cross: use XBPS_WRAPPERDIR. --- srcpkgs/pygtk/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template index 185d4ed7300..a181c8c1f50 100644 --- a/srcpkgs/pygtk/template +++ b/srcpkgs/pygtk/template @@ -19,7 +19,7 @@ checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912 do_configure() { if [ "$CROSS_BUILD" ]; then - ln -s ${wrksrc}/.xbps/bin/python-config ${wrksrc} + ln -s ${XBPS_WRAPPERDIR}/python-config ${wrksrc} fi env PYTHON=python ./configure ${configure_args} } @@ -29,8 +29,7 @@ post_install() { pygtk-devel_package() { lib32disabled=yes - depends="python-devel gtk+-devel python-gobject2-devel python-cairo-devel - libglade-devel ${sourcepkg}>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pycompile_module="demos" pkg_install() {