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