components/libxslt/patches/configure.in.patch
author saurabh.vyas@oracle.com
Thu, 30 Mar 2017 20:50:08 -0700
changeset 7819 b1bca76ec901
parent 5150 8af18e2b90dd
permissions -rw-r--r--
PSARC/2015/272 Ghostscript 9.20 16354273 Upgrade ghostscript to 9.20 24808169 problem in UTILITY/GHOSTSCRIPT 24808123 problem in UTILITY/GHOSTSCRIPT 24807899 problem in UTILITY/GHOSTSCRIPT 24807607 problem in UTILITY/GHOSTSCRIPT 23148723 Regression caused due to -x04 optimisation with /usr/bin/amd64/gs on S12_97 25054202 ghostscript 9.20 build fails with restrict qualifier

Our Userland Makefile replaces the upstream link-editor version script with a
Solaris-specific version 2 mapfile which is incompatible with the
ld --version-script option. Remove the upstream configure test that prefers
to use --version-script if available, and force the use of -M.

If PYTHON_VENDOR_PACKAGES is defined, set PYTHON_SITE_PACKAGES to the
same value.

--- libxslt-1.1.28/configure.in.orig	2012-11-21 00:10:58.000000000 -0700
+++ libxslt-1.1.28/configure.in	2015-12-02 15:32:07.243853314 -0700
@@ -131,12 +131,8 @@
 dnl then add it
 dnl
 AC_MSG_CHECKING([how to pass version script to the linker ($LD)])
-VERSION_SCRIPT_FLAGS=none
-if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then
-    VERSION_SCRIPT_FLAGS=-Wl,--version-script=
-elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then
     VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
-fi
+
 AC_MSG_RESULT([$VERSION_SCRIPT_FLAGS])
 AC_SUBST(VERSION_SCRIPT_FLAGS)
 AM_CONDITIONAL([USE_VERSION_SCRIPT], [test "$VERSION_SCRIPT_FLAGS" != none])
@@ -364,6 +360,10 @@
     else
         pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
     fi
+    if test "$PYTHON_VENDOR_PACKAGES" != ""
+    then
+        PYTHON_SITE_PACKAGES=$PYTHON_VENDOR_PACKAGES
+    fi
 fi
 AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "")
 if test "$PYTHON_INCLUDES" != ""