libxslt/libxslt-config-fixes.patch
Ismail Dönmez 756de289e8 Accepting request 77392 from home:elvigia:branches:devel:libraries:c_c++
- Rework build of this package in a sane way.

- Fix broken requires,provides,Obsoletes causing "have choice.."
  build system errors
- Remove all "la" files since they are no longer needed
- Fix -devel pacakge requires and messed up -config scripts
  this may cause build fails of already broken dependant packages
  that do not link all the needed libraries in an explicit manner
  (This is not a bug here, it is expected to cause it)

OBS-URL: https://build.opensuse.org/request/show/77392
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxslt?expand=0&rev=12
2011-07-29 07:30:47 +00:00

22 lines
535 B
Diff

--- xslt-config.in.orig
+++ xslt-config.in
@@ -89,7 +89,7 @@ while test $# -gt 0; do
shift
done
-the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@"
+the_libs="-lxslt"
if test "$includedir" != "/usr/include"; then
the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
else
--- xsltConf.sh.in.orig
+++ xsltConf.sh.in
@@ -2,6 +2,6 @@
# Configuration file for using the xslt library
#
XSLT_LIBDIR="@XSLT_LIBDIR@"
-XSLT_LIBS="@XSLT_LIBS@"
+XSLT_LIBS="-lxslt"
XSLT_INCLUDEDIR="@XSLT_INCLUDEDIR@"
MODULE_VERSION="xslt-@VERSION@"