# Conditional build:
# _with_bdb - Berkeley DB support
#
-# NOTE: requires mounted /proc to build
-#
%include /usr/lib/rpm/macros.perl
Summary: MySQL: a very fast and reliable SQL database engine
Summary(fr): MySQL: un serveur SQL rapide et fiable
Patch5: %{name}-dump_quote_db_names.patch
Patch6: %{name}-manfixes.patch
Patch7: %{name}-sql-cxx-pic.patch
+Patch8: %{name}-noproc.patch
Icon: mysql.gif
URL: http://www.mysql.com/
#BuildRequires: ORBit-devel
# in objects compiled without -fPIC
%patch7 -p1
%endif
+%patch8 -p1
%build
rm -f missing
CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions %{!?debug:-fomit-frame-pointer}"
CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
%configure \
+ PS='/bin/ps' \
+ FIND_PROC='/bin/ps p $$PID' \
+ KILL='/bin/kill' \
+ CHECK_PID='/bin/kill -0 $$PID' \
-C \
--with-pthread \
--with-raid \