components/libxml2/patches/01.configure.in.patch
changeset 2166 7f088f5637d1
parent 2165 d1946b7b1894
child 2167 c9ff638a3018
equal deleted inserted replaced
2165:d1946b7b1894 2166:7f088f5637d1
     1 # fix configure so that we can override the site-packages directory to match
       
     2 # the way we deliver python modules in Solaris.
       
     3 #
       
     4 --- libxml2-2.7.6/configure.in.orig	Tue Oct  6 09:28:58 2009
       
     5 +++ libxml2-2.7.6/configure.in	Mon Mar 21 00:39:24 2011
       
     6 @@ -757,6 +757,10 @@
       
     7  if test "$PYTHON_INCLUDES" != ""
       
     8  then
       
     9      PYTHON_SUBDIR=python
       
    10 +    if test "${PYTHON_VENDOR_PACKAGES}" != ""
       
    11 +    then
       
    12 +        PYTHON_SITE_PACKAGES=$PYTHON_VENDOR_PACKAGES
       
    13 +    fi
       
    14  else
       
    15      PYTHON_SUBDIR=
       
    16  fi
       
    17