Match package config. variables with their directory names
[openwrt.git] / openwrt / package / libgd / patches / 100-configure_fix.patch
1 diff -urN gd-2.0.33.old/configure gd-2.0.33.dev/configure
2 --- gd-2.0.33.old/configure 2004-11-04 00:14:47.000000000 +0100
3 +++ gd-2.0.33.dev/configure 2005-05-05 15:06:26.000000000 +0200
4 @@ -7217,8 +7217,6 @@
5 shlibpath_overrides_runpath=unknown
6 version_type=none
7 dynamic_linker="$host_os ld.so"
8 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
9 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10
11 case $host_os in
12 aix3*)
13 @@ -7481,8 +7479,6 @@
14 *)
15 ;;
16 esac
17 - sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18 - sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19 ;;
20
21 netbsd*)
22 @@ -11032,14 +11028,14 @@
23 fi
24
25 if test -n "$LIBPNG12_CONFIG"; then
26 - libpng_CPPFLAGS=`libpng12-config --cflags`
27 + libpng_CPPFLAGS=`$LIBPNG12_CONFIG --cflags`
28 # should be --ldopts, but it's currently broken
29 - libpng_LDFLAGS=`libpng12-config --ldflags`
30 + libpng_LDFLAGS=`$LIBPNG12_CONFIG --ldflags`
31 libpng_LDFLAGS=`echo " $libpng_LDFLAGS" | sed 's/ -l[^ ][^ ]*//g'`
32 elif test -n "$LIBPNG_CONFIG"; then
33 - libpng_CPPFLAGS=`libpng-config --cflags`
34 + libpng_CPPFLAGS=`$LIBPNG_CONFIG --cflags`
35 # should be --ldopts, but it's currently broken
36 - libpng_LDFLAGS=`libpng-config --ldflags`
37 + libpng_LDFLAGS=`$LIBPNG_CONFIG --ldflags`
38 libpng_LDFLAGS=`echo " $libpng_LDFLAGS" | sed 's/ -l[^ ][^ ]*//g'`
39 elif test -d "$withval"; then
40 libpng_CPPFLAGS="-I$withval/include"
This page took 0.041984 seconds and 5 git commands to generate.