blob: 9ee072d12e54f37f993f3e9d73289c41cf5e7695 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
. $stdenv/setup
configureFlags=""
if test "$pythonSupport"; then
configureFlags="--with-python=$python $configureFlags"
fi
patchPhase() {
echo "Patching"
mv configure configure.old
sed -e "s^pythondir=.*$^pythondir=$out/lib/python2.3/site-packages^" < configure.old > configure
chmod u+x configure
}
patchPhase=patchPhase
genericBuild
|