1 |
< |
### RPM external mysqlpp 1.7.40 |
2 |
< |
Requires: gcc-wrapper |
1 |
> |
### RPM external mysqlpp 1.7.40-CMS3 |
2 |
|
# Local patches and build system fudging by Lassi A. Tuura <lat@iki.fi> |
3 |
|
# FIXME: zlib usage? |
4 |
|
Requires: mysql zlib |
5 |
|
%define downloadn mysql++ |
6 |
< |
Source: http://tangentsoft.net/%{downloadn}/releases/%{downloadn}-%v.tar.gz |
6 |
> |
Source: http://tangentsoft.net/%{downloadn}/releases/%{downloadn}-%realversion.tar.gz |
7 |
|
Patch0: mysqlpp-macosx |
8 |
|
|
9 |
|
%prep |
10 |
< |
%setup -n %{downloadn}-%v |
10 |
> |
%setup -n %{downloadn}-%realversion |
11 |
|
# The following is actually a gcc4 patch |
12 |
|
%ifos darwin |
13 |
|
%patch0 -p1 |
16 |
|
[ $(uname) = Darwin ] && cp /usr/share/libtool/config.* . |
17 |
|
|
18 |
|
%build |
20 |
– |
## IMPORT gcc-wrapper |
19 |
|
echo "ZLIB_ROOT" $ZLIB_ROOT |
20 |
|
export CPPFLAGS=-I$ZLIB_ROOT/include |
21 |
|
export LDFLAGS=-L$ZLIB_ROOT/lib |