OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Dec-2003 10:23:19
Branch: OPENPKG_1_3_SOLID Handle: 2003121109231900
Modified files: (Branch: OPENPKG_1_3_SOLID)
openpkg-src/sasl sasl.spec
Log:
MFC: fix openldap support
Summary:
Revision Changes Path
1.46.2.2.2.2+7 -1 openpkg-src/sasl/sasl.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sasl/sasl.spec
============================================================================
$ cvs diff -u -r1.46.2.2.2.1 -r1.46.2.2.2.2 sasl.spec
--- openpkg-src/sasl/sasl.spec 29 Jul 2003 15:01:25 -0000 1.46.2.2.2.1
+++ openpkg-src/sasl/sasl.spec 11 Dec 2003 09:23:19 -0000 1.46.2.2.2.2
@@ -33,7 +33,7 @@
Group: Cryptography
License: BSD
Version: 2.1.15
-Release: 1.3.0
+Release: 1.3.1
# package options
%option with_fsl yes
@@ -188,6 +188,12 @@
%{l_shtool} subst \
-e 's;\(\$(CCLD)\);\1 -static;' \
utils/Makefile
+ # post adjustment: fix OpenLDAP support
+%if "%{with_ldap}" == "yes"
+ %{l_shtool} subst \
+ -e "s;^\(saslauthd_LDADD[ ]*=[ ]*[^\\]*\);\1 -lcrypt -lldap -llber
-lssl -lcrypto ;" \
+ saslauthd/Makefile
+%endif
# build package
%{l_make} %{l_mflags}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]