1<<<<<<< .working
2diff -ur misc/libxslt-1.1.32/ltmain.sh misc/build/libxslt-1.1.32/ltmain.sh
3--- misc/libxslt-1.1.32/ltmain.sh	2012-11-20 23:21:48.000000000 -0800
4+++ misc/build/libxslt-1.1.32/ltmain.sh	2016-03-27 11:14:40.564087000 -0700
5@@ -7331,13 +7331,13 @@
6 	  #
7 	  case $version_type in
8 	  # correct linux to gnu/linux during the next big refactor
9-	  darwin|linux|osf|windows|none)
10+	  darwin|freebsd-elf|linux|osf|windows|none)
11 	    func_arith $number_major + $number_minor
12 	    current=$func_arith_result
13 	    age="$number_minor"
14 	    revision="$number_revision"
15 	    ;;
16-	  freebsd-aout|freebsd-elf|qnx|sunos)
17+	  freebsd-aout|qnx|sunos)
18 	    current="$number_major"
19 	    revision="$number_minor"
20 	    age="0"
21@@ -7414,8 +7414,8 @@
22 	  ;;
23diff -ur misc/libxslt-1.1.32/configure misc/build/libxslt-1.1.32/configure
24--- misc/libxslt-1.1.32/configure	2017-11-02 13:34:22.000000000 -0700
25+++ misc/build/libxslt-1.1.32/configure	2018-08-22 23:00:50.689433000 -0700
26@@ -6698,7 +6698,7 @@
27
28 	freebsd-elf)
29-	  major=".$current"
30-	  versuffix=".$current"
31+	  major=.$(($current - $age))
32+	  versuffix="$major.$age.$revision"
33 	  ;;
34
35diff -ur misc/libxslt-1.1.32/xslt-config.in misc/build/libxslt-1.1.32/xslt-config.in
36--- misc/libxslt-1.1.32/xslt-config.in	2015-05-10 07:11:30.000000000 -0700
37+++ misc/build/libxslt-1.1.32/xslt-config.in	2018-08-22 23:00:50.689988000 -0700
38@@ -1,10 +1,15 @@
39 #! /bin/sh
40
41-prefix=@prefix@
42-exec_prefix=@exec_prefix@
43+#prefix=@prefix@
44+#exec_prefix=@exec_prefix@
45+#exec_prefix_set=no
46+#includedir=@includedir@
47+#libdir=@libdir@
48+prefix=${SOLARVERSION}/${INPATH}
49+exec_prefix=${SOLARVERSION}/${INPATH}
50 exec_prefix_set=no
51-includedir=@includedir@
52-libdir=@libdir@
53+includedir=${SOLARVERSION}/${INPATH}/inc${UPDMINOREXT}/external
54+libdir=${SOLARVERSION}/${INPATH}/lib${UPDMINOREXT}
55
56 usage()
57 {
58@@ -89,7 +94,8 @@
59     shift
60 done
61
62-the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@"
63+#the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@"
64+the_libs="-L${libdir} ${XSLTLIB} -lm"
65 if test "$includedir" != "/usr/include"; then
66     the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
67 else
68diff -ur misc/libxslt-1.1.32/configure misc/build/libxslt-1.1.32/configure
69--- misc/libxslt-1.1.32/configure	2012-11-20 23:11:21.000000000 -0800
70+++ misc/build/libxslt-1.1.32/configure	2016-03-27 12:43:44.464670000 -0700
71@@ -6462,7 +6462,7 @@
72
73 cygwin*)
74   # func_win32_libid is a shell function defined in ltmain.sh
75-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
76+  lt_cv_deplibs_check_method='file_magic ^x86 archive|^x86 DLL'
77   lt_cv_file_magic_cmd='func_win32_libid'
78   ;;
79
80@@ -6472,7 +6472,7 @@
81   # unless we find 'file', for example because we are cross-compiling.
82   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
83   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
84-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
85+    lt_cv_deplibs_check_method='file_magic ^x86 archive|^x86 DLL'
86     lt_cv_file_magic_cmd='func_win32_libid'
87   else
88     # Keep this pattern in sync with the one in func_win32_libid.
89@@ -11635,7 +11635,7 @@
90   version_type=freebsd-$objformat
91   case $version_type in
92     freebsd-elf*)
93-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
94+      library_names_spec='$libname$release$shared_ext$versuffix  $libname$release$shared_ext$major	 $libname$shared_ext'			 soname_spec='$libname$release$shared_ext$major'
95       need_version=no
96       need_lib_prefix=no
97       ;;
98