about summary refs log tree commit diff
path: root/pkgs/applications/graphics/inkscape/configure-python-libs.patch
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2008-02-25 11:09:37 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2008-02-25 11:09:37 +0000
commit5ea761b23f1842f25f3030ceb67fbf11515ef565 (patch)
tree7d0e69a99b99706ca12903e09fc63f16bbbe0fd4 /pkgs/applications/graphics/inkscape/configure-python-libs.patch
parent6eaa389efab41b444d610a2a7ae6c2d816270cdc (diff)
parente7f99973e1ef2c97e75325991ac763342e09bf18 (diff)
* Merged the last of the trunk, preparing for switch... backups/stdenv-updates-merge@10849
svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10847
Diffstat (limited to 'pkgs/applications/graphics/inkscape/configure-python-libs.patch')
-rw-r--r--pkgs/applications/graphics/inkscape/configure-python-libs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/inkscape/configure-python-libs.patch b/pkgs/applications/graphics/inkscape/configure-python-libs.patch
new file mode 100644
index 0000000000000..4999a55d00b70
--- /dev/null
+++ b/pkgs/applications/graphics/inkscape/configure-python-libs.patch
@@ -0,0 +1,11 @@
+--- inkscape-0.45.1/configure	2007-03-20 14:56:43.000000000 +0100
++++ inkscape-0.45.1/configure	2008-02-22 16:19:10.000000000 +0100
+@@ -10202,7 +10202,7 @@ if test "x$with_python" = "xyes"; then
+     if test "$?" -gt "0"; then
+         with_python="no"
+     else
+-        checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
++        checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '-L%s -lpython2.4 %s' % (distutils.sysconfig.get_config_var('LIBDIR'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
+         if test "$?" -gt "0"; then
+             with_python="no"
+         else