summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-09-18 17:28:19 +0200
committertnut <tnut at nutyx dot com>2011-09-18 17:28:19 +0200
commit0f2d54c915d2c0c406abedbd6d33a8dff346246b (patch)
tree22829a2acc3ab1579510d1c09e511544bc94d0db
parentda66712253ca486c86f3c4c3b52e9d885e69dfbd (diff)
downloadnutyx-pakxe-0f2d54c915d2c0c406abedbd6d33a8dff346246b.tar.gz
nutyx-pakxe-0f2d54c915d2c0c406abedbd6d33a8dff346246b.tar.bz2
nutyx-pakxe-0f2d54c915d2c0c406abedbd6d33a8dff346246b.tar.xz
nutyx-pakxe-0f2d54c915d2c0c406abedbd6d33a8dff346246b.zip
py2cairo, correction Pkgfile
-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
}