components/libxml2/patches/01.configure.in.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 284 ca417a821aee
permissions -rw-r--r--
Close of build 04.

# fix configure so that we can override the site-packages directory to match
# the way we deliver python modules in Solaris.
#
--- libxml2-2.7.6/configure.in.orig	Tue Oct  6 09:28:58 2009
+++ libxml2-2.7.6/configure.in	Mon Mar 21 00:39:24 2011
@@ -757,6 +757,10 @@
 if test "$PYTHON_INCLUDES" != ""
 then
     PYTHON_SUBDIR=python
+    if test "${PYTHON_VENDOR_PACKAGES}" != ""
+    then
+        PYTHON_SITE_PACKAGES=$PYTHON_VENDOR_PACKAGES
+    fi
 else
     PYTHON_SUBDIR=
 fi