Update the change log
[profile/ivi/libpcap.git] / packaging / libpcap-multilib.patch
1 diff -up libpcap/pcap-config.in.multilib libpcap/pcap-config.in
2 --- libpcap/pcap-config.in.multilib     2009-07-03 06:01:12.000000000 +0200
3 +++ libpcap/pcap-config.in      2009-07-09 15:55:48.000000000 +0200
4 @@ -29,16 +29,6 @@ do
5         esac
6         shift
7  done
8 -if [ "@V_RPATH_OPT@" != "" ]
9 -then
10 -       #
11 -       # If libdir isn't /usr/lib, add it to the run-time linker path.
12 -       #
13 -       if [ "@libdir@" != "/usr/lib" ]
14 -       then
15 -               RPATH=@V_RPATH_OPT@@libdir@
16 -       fi
17 -fi
18  if [ "$static" = 1 ]
19  then
20         #
21 @@ -47,16 +37,16 @@ then
22         #
23         if [ "$show_cflags" = 1 -a "$show_libs" = 1 ]
24         then
25 -               echo "-I@includedir@ -L@libdir@ -lpcap @LIBS@"
26 +               echo "-lpcap @LIBS@"
27         elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ]
28         then
29 -               echo "-I@includedir@ -L@libdir@ @LIBS@"
30 +               echo "@LIBS@"
31         elif [ "$show_cflags" = 1 ]
32         then
33 -               echo "-I@includedir@"
34 +               echo ""
35         elif [ "$show_libs" = 1 ]
36         then
37 -               echo "-L@libdir@ -lpcap @LIBS@"
38 +               echo "-lpcap @LIBS@"
39         elif [ "$show_additional_libs" = 1 ]
40         then
41                 echo "@LIBS@"
42 @@ -68,15 +58,15 @@ else
43         #
44         if [ "$show_cflags" = 1 -a "$show_libs" = 1 ]
45         then
46 -               echo "-I@includedir@ -L@libdir@ $RPATH -lpcap"
47 +               echo "-lpcap"
48         elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ]
49         then
50 -               echo "-I@includedir@"
51 +               echo ""
52         elif [ "$show_cflags" = 1 ]
53         then
54 -               echo "-I@includedir@"
55 +               echo ""
56         elif [ "$show_libs" = 1 ]
57         then
58 -               echo "-L@libdir@ $RPATH -lpcap"
59 +               echo "-lpcap"
60         fi
61  fi