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