forked from mirrors/nixpkgs
Missing file
svn path=/nixpkgs/trunk/; revision=1298
This commit is contained in:
parent
d1003bca3b
commit
f407ca0506
16
pkgs/development/libraries/libxml2/builder.sh
Executable file
16
pkgs/development/libraries/libxml2/builder.sh
Executable file
|
@ -0,0 +1,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
|
Loading…
Reference in a new issue