fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libxslt / libxslt-config.patch.1
blobdc33871398cc1f37ae6d5dd57ffdf8663ef64998
1 Hack the xslt-config to return paths into WORKDIR.
3 --- a/xslt-config.in    Wed Jan 17 14:18:26 2007
4 +++ b/xslt-config.in    Wed Jun 25 13:06:05 2008
5 @@ -1,10 +1,16 @@
6  #! /bin/sh
7  
8 -prefix=@prefix@
9 -exec_prefix=@exec_prefix@
10 +#prefix=@prefix@
11 +#exec_prefix=@exec_prefix@
12 +#exec_prefix_set=no
13 +#includedir=@includedir@
14 +#libdir=@libdir@
16 +prefix=${WORKDIR}/UnpackedTarball/xslt
17 +exec_prefix=${WORKDIR}/UnpackedTarball/xsltproc
18  exec_prefix_set=no
19 -includedir=@includedir@
20 -libdir=@libdir@
21 +includedir=${WORKDIR}/UnpackedTarball/xslt/libxslt
22 +libdir=${WORKDIR}/UnpackedTarball/xslt/libxslt/.libs
24  usage()
25  {
26 @@ -89,7 +95,8 @@
27      shift
28  done
30 -the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@"
31 +#the_libs="@XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@"
32 +the_libs="-L${libdir} -lxslt -lm"
33  if test "$includedir" != "/usr/include"; then
34      the_flags="$the_flags -I$includedir `@XML_CONFIG@ --cflags`"
35  else