components/libxml2/patches/01.configure.in.patch
changeset 2176 18d982113fd0
equal deleted inserted replaced
2175:3f8de49fb507 2176:18d982113fd0
       
     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