|
@@ -34,7 +34,7 @@ Class: BASE
|
|
|
Group: Mail
|
|
Group: Mail
|
|
|
License: BSD
|
|
License: BSD
|
|
|
Version: 2.2.11
|
|
Version: 2.2.11
|
|
|
-Release: 20050214
|
|
|
|
|
|
|
+Release: 20050215
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_fsl yes
|
|
%option with_fsl yes
|
|
@@ -158,11 +158,17 @@ AutoReqProv: no
|
|
|
%if "%{with_drac}" == "yes"
|
|
%if "%{with_drac}" == "yes"
|
|
|
cflags="$cflags -DDRAC_AUTH"
|
|
cflags="$cflags -DDRAC_AUTH"
|
|
|
%endif
|
|
%endif
|
|
|
|
|
+ loclibs=""
|
|
|
|
|
+ case "%{l_platform -t}" in
|
|
|
|
|
+ *-sunos* )
|
|
|
|
|
+ loclibs="-lrt"
|
|
|
|
|
+ ;;
|
|
|
|
|
+ esac
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|
|
|
CPPFLAGS="$cflags" \
|
|
CPPFLAGS="$cflags" \
|
|
|
CFLAGS="%{l_cflags -O} $cflags" \
|
|
CFLAGS="%{l_cflags -O} $cflags" \
|
|
|
LDFLAGS="$ldflags" \
|
|
LDFLAGS="$ldflags" \
|
|
|
- LIBS="%{l_fsl_libs}" \
|
|
|
|
|
|
|
+ LIBS="%{l_fsl_libs} $loclibs" \
|
|
|
./configure \
|
|
./configure \
|
|
|
--cache-file=./cache.config \
|
|
--cache-file=./cache.config \
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|