ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/mysql.spec
Revision: 1.2
Committed: Wed Mar 15 17:28:45 2006 UTC (19 years, 1 month ago) by eulisse
Branch: MAIN
CVS Tags: test2, test1, NataliaStart
Changes since 1.1: +1 -1 lines
Log Message:
Optional -j n added to repository.

File Contents

# User Rev Content
1 argiro 1.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 eulisse 1.2 make %makeprocesses