components/libxml2/patches/01.configure.in.patch
author doug leavitt <doug.leavitt@oracle.com>
Wed, 22 May 2013 10:12:33 -0700
branchs11-update
changeset 2632 af488b226b98
parent 284 ca417a821aee
permissions -rw-r--r--
16763104 backport 15998664 to 11.2 - berkeleydb doesn't build with jdk 1.7

# 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