From 0f2d54c915d2c0c406abedbd6d33a8dff346246b Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 18 Sep 2011 17:28:19 +0200 Subject: py2cairo, correction Pkgfile --- extra/py2cairo/Pkgfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extra/py2cairo/Pkgfile') diff --git a/extra/py2cairo/Pkgfile b/extra/py2cairo/Pkgfile index f0491d5a9..f41b53384 100644 --- a/extra/py2cairo/Pkgfile +++ b/extra/py2cairo/Pkgfile @@ -12,8 +12,9 @@ source=(http://cairographics.org/releases/$name-$version.tar.bz2) build() { cd $name-$version - export PYTHON=python2 - ./waf configure --prefix=/usr + export PYTHON=/usr/bin/python2 + sed -i 's:bin/env python:bin/env python2:' waf + python2 ./waf configure --prefix=/usr ./waf build ./waf install --destdir=$PKG } -- cgit v1.2.3-70-g09d2