]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- Berkeley DB support default on
authorareq <areq@pld-linux.org>
Sat, 6 Sep 2003 15:17:14 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.spec -> 1.176.2.2

mysql.spec

index 61ef6f89dbf83b423b32885a5f294735b9ce7694..b520e8b7cd581a9881d044eb7831610c3b93405d 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-# _with_bdb - Berkeley DB support
+# _without_bdb - without Berkeley DB support
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       MySQL: a very fast and reliable SQL database engine
@@ -31,11 +31,10 @@ Patch6:             %{name}-manfixes.patch
 Patch7:                %{name}-sql-cxx-pic.patch
 Icon:          mysql.gif
 URL:           http://www.mysql.com/
-#BuildRequires:        ORBit-devel
 BuildRequires: /bin/ps
 BuildRequires: autoconf
 BuildRequires: automake
-%{?_with_bdb:BuildRequires:    db3-devel}
+%{!?_without_bdb:BuildRequires:        db3-devel}
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: libwrap-devel
@@ -350,7 +349,7 @@ CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
        --with-mysqld-user=mysql \
        --with-libwrap \
        --with%{!?debug:out}-debug \
-       %{?_with_bdb:--with-berkeley-db} \
+       %{!?_without_bdb:--with-berkeley-db} \
        --with-embedded-server \
        --with-vio \
        --with-openssl \
@@ -379,7 +378,7 @@ install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
           $RPM_BUILD_ROOT%{_mysqlhome}
 
 install -d $RPM_BUILD_ROOT/var/lib/mysql/innodb/{data,log}
-%if %{?_with_bdb:1}%{!?_with_bdb:0}
+%if %{?_without_bdb:0}%{!?_without_bdb:1}
 install -d $RPM_BUILD_ROOT/var/lib/mysql/bdb/{log,tmp}
 %endif
 
This page took 0.176743 seconds and 4 git commands to generate.