summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/py2cairo/Pkgfile5
1 files changed, 3 insertions, 2 deletions
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
}