summaryrefslogtreecommitdiff
path: root/textproc/libxslt/files/patch-configure
blob: 8423bb993eca6d09a92cd4a948f1b26db08700a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- configure.orig	2008-05-24 00:09:57.000000000 -0500
+++ configure	2008-05-24 00:10:20.000000000 -0500
@@ -22284,11 +22284,12 @@
     fi
     if test "$PYTHON_VERSION" != ""
     then
+	with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
 	if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
 	   -d $with_python/lib/python$PYTHON_VERSION/site-packages
 	then
 	    PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
-	    PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
+	    PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages
 	else
 	    if test -r $prefix/include/python$PYTHON_VERSION/Python.h
 	    then