mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
552de99c19
svn path=/nixpkgs/trunk/; revision=4065
17 lines
358 B
Bash
Executable file
17 lines
358 B
Bash
Executable file
. $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
|