OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 07-Mar-2003 12:23:47 Branch: HEAD Handle: 2003030711234700 Modified files: openpkg-src/sasl sasl.spec Log: added '--enable-login' for MS Outlook support rearranged flags for further enhancements Summary: Revision Changes Path 1.52 +15 -8 openpkg-src/sasl/sasl.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/sasl/sasl.spec ============================================================================ $ cvs diff -u -r1.51 -r1.52 sasl.spec --- openpkg-src/sasl/sasl.spec 13 Feb 2003 14:32:38 -0000 1.51 +++ openpkg-src/sasl/sasl.spec 7 Mar 2003 11:23:47 -0000 1.52 @@ -33,11 +33,12 @@ Group: Cryptography License: BSD Version: 2.1.12 -Release: 20030213 +Release: 20030307 # package options %option with_fsl no %option with_pam no +%option with_login no # list of sources Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-%{version}.tar.gz @@ -81,15 +82,18 @@ -e "s;javah;javah-xxx;g" \ -e "s;javadoc;javadoc-xxx;g" \ configure - CC="%{l_cc}" \ - CFLAGS="%{l_cflags -O} %{l_cppflags}" \ + + cflags="%{l_cflags -O} %{l_cppflags}" + ldflags="-L%{l_prefix}/lib" + libs="-ldb" %if "%{with_fsl}" == "yes" - LDFLAGS="%{l_ldflags} `%{l_prefix}/bin/fsl-config --all --ldflags`" \ - LIBS="-ldb `%{l_prefix}/bin/fsl-config --all --libs`" \ -%else - LDFLAGS="%{l_ldflags}" \ - LIBS="-ldb" \ + ldflags="$ldflags `%{l_prefix}/bin/fsl-config --all --ldflags`" + libs="$libs `%{l_prefix}/bin/fsl-config --all --libs`" %endif + CC="%{l_cc}" \ + CFLAGS="$cflags" \ + LDFLAGS="$ldflags" \ + LIBS="$libs" \ ./configure \ --prefix=%{l_prefix} \ --with-plugindir=%{l_prefix}/lib/sasl \ @@ -102,6 +106,9 @@ --with-pam \ %else --without-pam \ +%endif +%if "%{with_login}" == "yes" + --enable-login \ %endif --disable-shared \ --enable-static \ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]