]> git.pld-linux.org Git - packages/beecrypt.git/commitdiff
- fix python sitedir path - distutils.sysconfig.get_python_lib() points at
authortwittner <twittner@pld-linux.org>
Thu, 16 Sep 2004 19:11:32 +0000 (19:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  /usr/share/python2.3/site-packages but _bc.so should be installed in
  %{_libdir}/python2.3/site-packages

Changed files:
    beecrypt-ac_python.patch -> 1.1

beecrypt-ac_python.patch [new file with mode: 0644]

diff --git a/beecrypt-ac_python.patch b/beecrypt-ac_python.patch
new file mode 100644 (file)
index 0000000..ba98ad0
--- /dev/null
@@ -0,0 +1,12 @@
+--- beecrypt-4.0.0/configure.ac        2004-09-15 18:06:57.124582792 +0000
++++ beecrypt-4.0.0/configure.ac.new    2004-09-15 18:38:47.508160344 +0000
+@@ -387,7 +387,8 @@
+       ac_cv_python_include="-I`python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc()'`"
+     ])
+     AC_CACHE_CHECK([for python libraries], ac_cv_python_libdir, [
+-      ac_cv_python_libdir="`python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()'`"
++      py_ver="`python -c 'import sys; print sys.version[[:3]]'`"
++      ac_cv_python_libdir="${libdir}/python${py_ver}/site-packages"
+     ])
+   else
+     ac_with_python=no
This page took 0.072102 seconds and 4 git commands to generate.