patch file cleanup... ick.. kaloz you owe me some love
[openwrt/svn-archive/archive.git] / libs / libdnet / patches / 001-dnet_config.patch
1 --- libdnet-1.10/dnet-config.in.orig 2001-10-19 03:29:00.000000000 +0200
2 +++ libdnet-1.10/dnet-config.in 2005-09-20 09:32:53.000000000 +0200
3 @@ -45,10 +45,18 @@
4 done
5
6 if test "$echo_cflags" = "yes"; then
7 - echo -I@includedir@
8 + includes=
9 + if test "@includedir@" != "/usr/include" ; then
10 + includes=-I@includedir@
11 + fi
12 + echo $includes
13 fi
14
15 if test "$echo_libs" = "yes"; then
16 - echo -L@libdir@ -ldnet @LIBS@
17 + libs=
18 + if test "@libdir@" != "/usr/lib" ; then
19 + libs=-I@libdir@
20 + fi
21 + echo $libs -ldnet @LIBS@
22 fi
23