]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- hack to build on amd64 (--with-named-thread-libs is not enough)
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 7 May 2004 22:03:28 +0000 (22:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- sorted configure options, release 2

Changed files:
    mysql.spec -> 1.204

mysql.spec

index a0b397183b622a4c1c34b2e8d09051e8c467cb7a..009eb4e600b7c5a4c40e1e709bd0e44a2b0b5bfb 100644 (file)
@@ -13,7 +13,7 @@ Summary(zh_CN):       MySQL
 Name:          mysql
 Group:         Applications/Databases
 Version:       4.0.18
-Release:       1
+Release:       2
 License:       GPL/LGPL
 Source0:       http://sunsite.icm.edu.pl/mysql/Downloads/MySQL-4.0/mysql-%{version}.tar.gz
 # Source0-md5: 702151a3e21d9e5f32e8850032aefdad
@@ -348,6 +348,8 @@ Podr
 %patch9 -p1
 %patch10 -p1
 
+%{__perl} -pi -e 's@/lib/libpthread@/%{_lib}/libpthread@' configure.in
+
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -361,26 +363,26 @@ CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
        KILL='/bin/kill' \
        CHECK_PID='/bin/kill -0 $$PID' \
        -C \
-       --with-pthread \
-       --with-raid \
-       --with-unix-socket-path=/var/lib/mysql/mysql.sock \
-       --with-mysqld-user=mysql \
-       --with-libwrap \
-       --with%{!?debug:out}-debug \
+       --enable-assembler \
+       --enable-shared \
+       --enable-static \
+       --enable-thread-safe-client \
        %{?with_bdb:--with-berkeley-db} \
+       --with-comment="PLD Linux Distribution MySQL RPM" \
+       --with%{!?debug:out}-debug \
        --with-embedded-server \
-       --with-vio \
-       --with-openssl \
        --with-extra-charsets=all \
-       --enable-shared \
-       --enable-static \
+       --with-libwrap \
+       --with-low-memory \
+       --with-mysqld-user=mysql \
        --with-named-curses-libs="-lncurses" \
-       --enable-assembler \
+       --with-openssl \
+       --with-pthread \
+       --with-raid \
+       --with-unix-socket-path=/var/lib/mysql/mysql.sock \
+       --with-vio \
        --without-readline \
-       --without-docs \
-       --with-low-memory  \
-       --with-comment="PLD Linux Distribution MySQL RPM" \
-       --enable-thread-safe-client
+       --without-docs
 #      --with-mysqlfs
 
 echo -e "all:\ninstall:\nclean:\nlink_sources:\n" > libmysqld/examples/Makefile
This page took 0.279727 seconds and 4 git commands to generate.