"Initial commit to Gerrit"
[profile/ivi/libcroco.git] / packaging / libcroco-0.6.1-multilib.patch
1 --- libcroco-0.6.1/croco-config.in.multilib     2006-03-05 16:57:01.000000000 -0500
2 +++ libcroco-0.6.1/croco-config.in      2006-05-23 13:54:34.000000000 -0400
3 @@ -1,10 +1,11 @@
4  #! /bin/sh
5  
6 -prefix=@prefix@
7 -exec_prefix=@exec_prefix@
8 +name=libcroco-0.6
9 +prefix=`pkg-config --variable prefix $name`
10 +exec_prefix=`pkg-config --variable exec_prefix $name`
11  exec_prefix_set=no
12 -includedir=@includedir@
13 -libdir=@libdir@
14 +includedir=`pkg-config --variable includedir $name`
15 +libdir=`pkg-config --variable libdir $name`
16  
17  usage()
18  {
19 @@ -59,7 +60,7 @@
20         ;;
21  
22      --version)
23 -       echo @VERSION@
24 +       pkg-config --modversion $name
25         exit 0
26         ;;
27  
28 @@ -68,11 +69,11 @@
29         ;;
30  
31      --cflags)
32 -       echo @CROCO_CFLAGS@ @GLIB2_CFLAGS@ @LIBXML2_CFLAGS@
33 +       pkg-config --cflags $name
34                 ;;
35  
36      --libs)
37 -       echo @CROCO_LIBS@ @GLIB2_LIBS@ @LIBXML2_LIBS@
38 +       pkg-config --libs $name
39                 ;;
40  
41      *)