Uite ceva parti relevante ca sa tin mesajul scurt:
# _with_mysql - build with MySQL support
# _without_ldap - build without LDAP support
# _without_whoson - build without WHOSON support
............
Patch6: %{name}-whoson.patch
Patch7: %{name}-whoson-config.patch
URL: http://www.exim.org/
%{!?_without_ldap:BuildRequires: openldap-devel >= 2.0.0}
%{!?_without_whoson:BuildRequires: whoson-devel}
%{?_with_mysql:BuildRequires: mysql-devel}
%{?_with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: XFree86-devel
BuildRequires: db3-devel
BuildRequires: openssl-devel >= 0.9.6a
...............
%build
%{__make} CFLAGS="%{rpmcflags}" \
LOOKUP_CDB=yes \
%{?_with_mysql:LOOKUP_MYSQL=yes} \
%{?_with_pgsql:LOOKUP_PGSQL=yes} \
%{!?_without_ldap:LOOKUP_LDAP=yes LDAP_LIB_TYPE=OPENLDAP2} \
LOOKUP_LIBS="%{!?_without_ldap:-lldap -llber}
%{?_with_mysql:-lmysqlclie
nt} %{?_with_pgsql:-lpq} %{!?_without_whoson:-lwhoson}" \
LOOKUP_INCLUDE="%{?_with_mysql:-I/usr/include/mysql}
%{?_with_pgsql:-I/u
sr/include/pgsql}"
Ce nu stiu eu este cum sa definesc _with_mysql asta...
Marius
>
> Pai pune si tu spec-ul undeva pe net, sa-l vedem pe tot, ca doar asa,
> dintr-o bucatzica, e cam greu de zis.
> Unii fac smecherii cu --define, altii altfel...
>
> --
> Florin Andrei
>
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.