Browse Source

fix openldap support

master
Thomas Lotterer 22 years ago committed by Ralf S. Engelschall
parent
commit
d8aa540b5a
  1. 9
      sasl/sasl.spec

9
sasl/sasl.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
Group: Cryptography Group: Cryptography
License: BSD License: BSD
Version: 2.1.15 Version: 2.1.15
Release: 20030918 Release: 20031014
# package options # package options
%option with_fsl yes %option with_fsl yes
@ -189,6 +189,13 @@ AutoReqProv: no
-e 's;\(\$(CCLD)\);\1 -static;' \ -e 's;\(\$(CCLD)\);\1 -static;' \
utils/Makefile 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 # build package
%{l_make} %{l_mflags} %{l_make} %{l_mflags}
cd saslauthd cd saslauthd

Loading…
Cancel
Save