diff --git a/sasl/sasl.spec b/sasl/sasl.spec index 9bda660e04..804115fac9 100644 --- a/sasl/sasl.spec +++ b/sasl/sasl.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS] Group: Cryptography License: BSD Version: 2.1.15 -Release: 20030918 +Release: 20031014 # package options %option with_fsl yes @@ -189,6 +189,13 @@ AutoReqProv: no -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} cd saslauthd