|
|
@@ -38,7 +38,7 @@ Class: BASE
|
|
|
Group: Mail
|
|
|
License: BSD
|
|
|
Version: %{V_mutt}
|
|
|
-Release: 20070805
|
|
|
+Release: 20070905
|
|
|
|
|
|
# build options
|
|
|
%option with_pop no
|
|
|
@@ -178,8 +178,10 @@ AutoReqProv: no
|
|
|
%build
|
|
|
# configure for particular platform
|
|
|
options=''
|
|
|
+ libs=''
|
|
|
case "%{l_platform -t}" in
|
|
|
*-freebsd* ) options="--enable-flock --disable-fcntl" ;;
|
|
|
+ *-linux* ) libs="-ldl" ;;
|
|
|
esac
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
@@ -189,6 +191,7 @@ AutoReqProv: no
|
|
|
CPPFLAGS="%{l_cppflags libidn .}" \
|
|
|
%endif
|
|
|
LDFLAGS="-Limap %{l_ldflags}" \
|
|
|
+ LIBS="$libs" \
|
|
|
INSTALL="%{l_shtool} install%{l_nil} -c" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|