components/libxml2/patches/01.configure.in.patch
author Jiri Kukacka <jiri.kukacka@oracle.com>
Thu, 16 Jan 2014 06:52:45 -0800
branchs11u1-sru
changeset 2935 cd48674f5a76
parent 284 ca417a821aee
permissions -rw-r--r--
15949286 update tcsh to 6.18.01 15825527 SUNBT7206801 tcsh tries to autocorrect commands that are correct 16072367 New tcsh changes the value of $HOSTTYPE from i86pc to sun386i

# 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