Revision: | 1.1 |
Committed: | Fri Feb 17 04:27:30 2006 UTC (19 years, 2 months ago) by argiro |
Branch: | MAIN |
Log Message: | added mysql |
# | Content |
---|---|
1 | ### RPM external mysql 4.0.24 |
2 | # Source: ftp://mirror.mcs.anl.gov/pub/mysql/Downloads/MySQL-4.0/%n-%v.tar.gz |
3 | Source: http://downloads.mysql.com/archives/mysql-4.0/%n-%v.tar.gz |
4 | |
5 | %prep |
6 | %setup -n %n-%v |
7 | %ifos darwin |
8 | # There's for some reason a "-traditional-cpp", which breaks with GCC 3.3 |
9 | # so remove it. (FIXME: check if this is solved in a newer version.) |
10 | perl -p -i -e 's/-traditional-cpp/-no-cpp-precomp/g' configure.in configure |
11 | %endif |
12 | |
13 | %build |
14 | CFLAGS=-O3 CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \ |
15 | ./configure --prefix=%i --with-extra-charsets=complex \ |
16 | --enable-thread-safe-client --enable-local-infile |
17 | make |