|
|
@@ -211,11 +211,9 @@ AutoReqProv: no
|
|
|
# configure package
|
|
|
cflags="%{l_cflags -O}"
|
|
|
cppflags="%{l_cppflags}"
|
|
|
- ldflags=""
|
|
|
+ ldflags="%{l_ldflags}"
|
|
|
libs=""
|
|
|
%if "%{with_gdbm}" == "yes"
|
|
|
- cflags="$cflags %{l_cppflags}"
|
|
|
- ldflags="$ldflags %{l_ldflags}"
|
|
|
libs="$libs -lndbm -lgdbm"
|
|
|
%endif
|
|
|
%if "%{with_gd}" == "yes"
|
|
|
@@ -224,7 +222,7 @@ AutoReqProv: no
|
|
|
%if "%{with_gettext}" == "yes"
|
|
|
libs="$libs -liconv"
|
|
|
%endif
|
|
|
-%if "%{with_openldap}" == "yes" && "%{with_openldapsasl}" == "yes"
|
|
|
+%if "%{with_openldap}" == "yes" && "%{with_openldapsasl}" == "yes"
|
|
|
libs="$libs -lsasl2"
|
|
|
%endif
|
|
|
%if "%{with_imap}" == "yes"
|
|
|
@@ -237,7 +235,6 @@ AutoReqProv: no
|
|
|
ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
|
|
|
export ORACLE_HOME
|
|
|
%endif
|
|
|
-
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="$cflags" \
|
|
|
CPPFLAGS="$cppflags" \
|