Sun, 02 Sep 2012 18:14:00 +0200
Fully correct this time the defective sqlite(1) library detection.
Additionally, reorder the pkg-config(1) arguments according to the
man page usage description.
subversion/subversion.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/subversion/subversion.spec Sat Sep 01 18:45:32 2012 +0200 1.2 +++ b/subversion/subversion.spec Sun Sep 02 18:14:00 2012 +0200 1.3 @@ -96,12 +96,6 @@ 1.4 -e 's;\(\$ac_abs_srcdir/configure \$ac_configure_args\);\1 --disable-shared;' \ 1.5 configure 1.6 1.7 - # patch: accommodate defective sqlite3_close(3) test from configure 1.8 - %{l_shtool} subst \ 1.9 - -e 's;\(SVN_SQLITE_INCLUDES *= *\).*;\1`pkg-config --cflags-only-I sqlite3`;' \ 1.10 - -e 's;\(SVN_SQLITE_LIBS *= *\).*;\1`pkg-config --libs-only-l sqlite3`;' \ 1.11 - Makefile.in 1.12 - 1.13 # patch: adjust path to configuration directory 1.14 %{l_shtool} subst \ 1.15 -e 's;/etc/subversion;%{l_prefix}/etc/subversion;g' \ 1.16 @@ -114,15 +108,15 @@ 1.17 CFLAGS="%{l_cflags -O}" \ 1.18 CPPFLAGS="%{l_cppflags libxml2 .} -DSQLITE_THREADSAFE=1" \ 1.19 %if "%{with_sasl}" == "yes" && "%{with_db}" == "yes" 1.20 - LDFLAGS="%{l_ldflags} `pkg-config db sasl --libs-only-L` %{l_fsl_ldflags}" \ 1.21 - LIBS="`pkg-config db sasl --libs-only-l` -lz %{l_fsl_libs}" \ 1.22 + LDFLAGS="%{l_ldflags} `pkg-config --libs-only-L db sasl sqlite3` %{l_fsl_ldflags}" \ 1.23 + LIBS="`pkg-config --libs-only-l db sasl sqlite3` -lz %{l_fsl_libs}" \ 1.24 %else 1.25 %if "%{with_sasl}" == "yes" 1.26 - LDFLAGS="%{l_ldflags} `pkg-config sasl --libs-only-L` %{l_fsl_ldflags}" \ 1.27 - LIBS="`pkg-config sasl --libs-only-l` `pkg-config apr-util-1 --libs-only-l` -lz %{l_fsl_libs}" \ 1.28 + LDFLAGS="%{l_ldflags} `pkg-config --libs-only-L sasl sqlite3` %{l_fsl_ldflags}" \ 1.29 + LIBS="`pkg-config --libs-only-l sasl apr-util-1 sqlite3` -lz %{l_fsl_libs}" \ 1.30 %else 1.31 LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \ 1.32 - LIBS="`pkg-config apr-util-1 --libs-only-l` -lz %{l_fsl_libs}" \ 1.33 + LIBS="`pkg-config --libs-only-l apr-util-1 sqlite3` -lz %{l_fsl_libs}" \ 1.34 %endif 1.35 %endif 1.36 CONFIG_SHELL="%{l_bash}" \