[PATCH] Upgrade libgpg-error from v1.6 to v1.7.
[openwrt/svn-archive/archive.git] / net / dansguardian / patches / 001-include_dir.patch
1 Index: dansguardian-2.9.9.2/configure
2 ===================================================================
3 --- dansguardian-2.9.9.2.orig/configure 2008-02-27 17:52:06.000000000 +0100
4 +++ dansguardian-2.9.9.2/configure 2008-02-27 17:52:06.000000000 +0100
5 @@ -799,7 +799,7 @@
6 sharedstatedir='${prefix}/com'
7 localstatedir='${prefix}/var'
8 includedir='${prefix}/include'
9 -oldincludedir='/usr/include'
10 +oldincludedir='${prefix}/usr/include'
11 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
12 infodir='${datarootdir}/info'
13 htmldir='${docdir}'
14 @@ -6429,7 +6429,7 @@
15 # Check whether --with-zlib was given.
16 if test "${with_zlib+set}" = set; then
17 withval=$with_zlib; # check for header & func (in library) in given prefix
18 - CPPFLAGS="${CPPFLAGS} -I${withval}/include"
19 + CPPFLAGS="${CPPFLAGS}"
20 if test "x$staticzlib" = "xtrue"; then
21 LIBS="-Bstatic -L${withval} -lz -Bdynamic ${LIBS}"
22 else
23 @@ -10753,7 +10753,7 @@
24 if test "${with_libiconv+set}" = set; then
25 withval=$with_libiconv; # check for header & func (in library) in given prefix
26 if test "x$withval" != "x"; then
27 - CPPFLAGS="${CPPFLAGS} -I${withval}/include"
28 + CPPFLAGS="${CPPFLAGS}"
29 LIBS="-L${withval}/lib -liconv ${LIBS}"
30 else
31 LIBS="-liconv ${LIBS}"