From f407ca0506a20dc8cd81a2c93134dd04eae2a835 Mon Sep 17 00:00:00 2001 From: Martin Bravenboer Date: Thu, 19 Aug 2004 15:29:10 +0000 Subject: [PATCH] Missing file svn path=/nixpkgs/trunk/; revision=1298 --- pkgs/development/libraries/libxml2/builder.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 pkgs/development/libraries/libxml2/builder.sh diff --git a/pkgs/development/libraries/libxml2/builder.sh b/pkgs/development/libraries/libxml2/builder.sh new file mode 100755 index 000000000000..9ee072d12e54 --- /dev/null +++ b/pkgs/development/libraries/libxml2/builder.sh @@ -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