summary refs log tree commit diff
path: root/pkgs/development/libraries/libxml2/builder.sh
blob: fdd5dac99f0ccbc96354c86680fc91d20055e2f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
source $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.4/site-packages^" < configure.old > configure
    chmod u+x configure
}
patchPhase=patchPhase

genericBuild