|
|
@@ -37,7 +37,7 @@ Class: BASE
|
|
|
Group: Database
|
|
|
License: BSD
|
|
|
Version: %{V_version}.%{V_revision}
|
|
|
-Release: 20070409
|
|
|
+Release: 20070505
|
|
|
|
|
|
# package options
|
|
|
%option with_compat no
|
|
|
@@ -87,6 +87,10 @@ AutoReqProv: no
|
|
|
|
|
|
%build
|
|
|
# configure library
|
|
|
+ cppflags=""
|
|
|
+ case "%{l_platform -t}" in
|
|
|
+ sparc64-freebsd* ) cppflags="-fPIC" ;;
|
|
|
+ esac
|
|
|
mutex="no"
|
|
|
case "%{l_platform -p}" in
|
|
|
ix86-* ) mutex="x86/gcc-assembly" ;;
|
|
|
@@ -98,6 +102,7 @@ AutoReqProv: no
|
|
|
esac
|
|
|
cd build_unix
|
|
|
CC="%{l_cc}" \
|
|
|
+ CPPFLAGS="%{l_cppflags} $cppflags" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
%if "%{with_cxx}" == "yes"
|
|
|
CXX="%{l_cxx}" \
|