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

Comparing COMP/CMSDIST/openldap.spec (file contents):
Revision 1.1 by ratnik, Thu Jul 10 21:26:05 2008 UTC vs.
Revision 1.10 by elmer, Fri Aug 27 07:49:51 2010 UTC

# Line 1 | Line 1
1   ### RPM external openldap 2.3.39
2 + ## INITENV +PATH LD_LIBRARY_PATH %i/lib
3   Source: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20071118.tgz
4 < Requires: openssl db4
5 < Provides: libsasl2.so.2
6 <
7 < #http://www.openssl.org/source/%n-%realversion.tar.gz
4 > Patch0: openldap-2.3.39-gcc44
5 > Requires: openssl db4
6 > #cyrus-sasl
7 > Provides: libsasl2.so.2 libsasl2.so.2()(64bit)
8  
9   %prep
10   %setup -q -n %n-%{realversion}
11 < pwd
11 > %patch0 -p1
12 >
13   %build
14  
15   #  CC          C compiler command
# Line 18 | Line 20 | pwd
20   #              headers in a nonstandard directory <include dir>
21   #  CPP         C preprocessor
22  
23 < %define gcc_setup CC=$GCC_ROOT/bin/cc
24 < %define ssl_setup CPPFLAGS=-I$OPENSSL_ROOT/include LDFLAGS=-L$OPENSSL_ROOT/lib
25 < %define db4_setup CPPFLAGS=-I$DB4_ROOT/include LDFLAGS=-L$DB4_ROOT/lib
23 > export CPPFLAGS="-I$OPENSSL_ROOT/include -I$DB4_ROOT/include -I$CYRUS_SASL_ROOT/include"
24 > export LDFLAGS="-L$OPENSSL_ROOT/lib -L$DB4_ROOT/lib -L$CYRUS_SASL_ROOT/lib -L%{_builddir}/%n-%{realversion}/sasl2lib"
25 > echo $CPPFLAGS
26  
27 < %gcc_setup %ssl_setup %db4_setup ./configure --prefix=%i --with-cyrus-sasl --with-tls
27 > ./configure --prefix=%i --with-cyrus-sasl --with-tls
28   make depend
29   make
30   %install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines