ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/mysqlpp.spec
(Generate patch)

Comparing COMP/CMSDIST/mysqlpp.spec (file contents):
Revision 1.13 by elmer, Fri Nov 2 20:04:14 2007 UTC vs.
Revision 1.17 by elmer, Mon Nov 24 22:37:11 2008 UTC

# Line 1 | Line 1
1 < ### RPM external mysqlpp 1.7.40-CMS18
1 > ### RPM external mysqlpp 1.7.40
2   # Local patches and build system fudging by Lassi A. Tuura <lat@iki.fi>
3   # FIXME: zlib usage?
4  
5 < %if "%{?online_release:set}" != "set"
5 > %if "%cmsplatf" != "slc4onl_ia32_gcc346"
6   Requires: mysql zlib
7   %endif
8  
9   %define downloadn mysql++
10   Source: http://tangentsoft.net/%{downloadn}/releases/%{downloadn}-%realversion.tar.gz
11   Patch0: mysqlpp-macosx
12 + Patch1: mysqlpp-1.7.40-gcc43
13  
14   %prep
15   %setup -n %{downloadn}-%realversion
# Line 16 | Line 17 | Patch0: mysqlpp-macosx
17   %ifos darwin
18   %patch0 -p1
19   %endif
20 + %patch1 -p2
21   rm -f config.status
22   [ $(uname) = Darwin ] && cp /usr/share/libtool/config.* .
23  
24   %build
25 < %if "%{?online_release:set}" != "set"
25 > %if "%cmsplatf" != "slc4onl_ia32_gcc346"
26   echo "ZLIB_ROOT" $ZLIB_ROOT
27   export CPPFLAGS=-I$ZLIB_ROOT/include
28   export LDFLAGS=-L$ZLIB_ROOT/lib

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines