summaryrefslogtreecommitdiffstats
path: root/devel/swig/python3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'devel/swig/python3.patch')
-rw-r--r--devel/swig/python3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/swig/python3.patch b/devel/swig/python3.patch
new file mode 100644
index 0000000000..c9faa15d90
--- /dev/null
+++ b/devel/swig/python3.patch
@@ -0,0 +1,11 @@
+--- configure.in.orig 2011-04-02 02:56:58.000000000 +0400
++++ configure.in 2011-08-22 14:09:06.399907766 +0400
+@@ -785,7 +785,7 @@
+
+ # Set the library directory blindly. This probably won't work with older versions
+ AC_MSG_CHECKING([for Python 3.x library])
+- dirs="$PY3VERSION/config $PY3VERSION/$PY3LIBDIR python/$PY3LIBDIR"
++ dirs="$PY3VERSION/config-${PY3VERSION/python/}m $PY3VERSION/$PY3LIBDIR python/$PY3LIBDIR"
+ for i in $dirs; do
+ if test -d $PY3EPREFIX/$PY3LIBDIR/$i; then
+ PY3LIB="$PY3EPREFIX/$PY3LIBDIR/$i"