From cc4d48552492a4f462c09b18c7ad29ee560f847d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 24 Jun 2014 23:34:24 +0200 Subject: [PATCH] python3.4-cairo: fix cross build --- srcpkgs/python3.4-cairo/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3.4-cairo/template b/srcpkgs/python3.4-cairo/template index bd0176f663c..b04002c5a12 100644 --- a/srcpkgs/python3.4-cairo/template +++ b/srcpkgs/python3.4-cairo/template @@ -1,11 +1,11 @@ # Template file for 'python3.4-cairo' pkgname=python3.4-cairo version=1.10.0 -revision=4 +revision=5 wrksrc="pycairo-${version}" build_style=waf3 patch_args="-Np1" -hostmakedepends="pkg-config which" +hostmakedepends="pkg-config which python3.4" makedepends="cairo-devel python3.4-devel" replaces="pycairo>=0" short_desc="Python3.4 bindings for the cairo graphics library" @@ -15,6 +15,10 @@ maintainer="Juan RP " distfiles="http://cairographics.org/releases/pycairo-${version}.tar.bz2" checksum=9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be +do_configure() { + PYTHON=python3.4 python3.4 waf configure --prefix=/usr +} + python3.4-cairo-devel_package() { depends="python3.4-devel ${sourcepkg}>=${version}_${revision}" replaces="pycairo-devel>=0"