|
|
@@ -34,7 +34,7 @@ Class: BASE
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: 2.2.22
|
|
|
-Release: 20050123
|
|
|
+Release: 20050124
|
|
|
|
|
|
# package options
|
|
|
%option with_fsl yes
|
|
|
@@ -101,11 +101,17 @@ AutoReqProv: no
|
|
|
%else
|
|
|
cf="%{l_cppflags}"
|
|
|
%endif
|
|
|
+ LOCLIBS=""
|
|
|
+ case "%{l_platform -t}" in
|
|
|
+ *-sunos* )
|
|
|
+ LOCLIBS="-lrt"
|
|
|
+ ;;
|
|
|
+ esac
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O} `%{l_prefix}/bin/pth-config --cflags`" \
|
|
|
CPPFLAGS="$cf -I`%{l_prefix}/bin/pth-config --includedir`" \
|
|
|
LDFLAGS="%{l_ldflags} `%{l_prefix}/bin/pth-config --ldflags` %{l_fsl_ldflags}" \
|
|
|
- LIBS="`%{l_prefix}/bin/pth-config --libs` %{l_fsl_libs}" \
|
|
|
+ LIBS="`%{l_prefix}/bin/pth-config --libs` %{l_fsl_libs} $LOCLIBS" \
|
|
|
./configure \
|
|
|
--cache-file=./config.cache \
|
|
|
--prefix=%{l_prefix} \
|