On Mon Nov 19, 2001 at 05:59:11PM -0500, Frederic Lepied wrote: > > Is there such a tag? I'm running into a problem building an exim > > package. In the Makefile, I tell it to use OpenLDAP 2.x (which is, I > > gather, quite different from OpenLDAP 1.x). However, I pass -lldap > > for libs (using -lldap2 doesn't work). My concern is that -lldap can > > be used for both 1.x and 2.x, right? > > > > I have a Requires: openldap >= 2.0.11 in there, and a BuildRequires: > > libldap2-devel, but I want it to be more restrictive. Ie. what > > happens if both libldap2-devel and openldap-devel are installed? By > > just passing -lldap, I don't know which will be used, and I think > > telling exim to use LDAP2 and it accidentally builds with LDAP1 would > > be bad. > > > > Can I do something like BuildConflicts: openldap-devel to force the > > user building exim to remove any LDAP1 libs/source prior to building? > > Or is this plain old unnecessary? I want to ensure it is built > > against LDAP2. > > Yes BuildConflicts is your friend. Use something like: > > BuildConflicts: libldap1-devel
Very cool. Thanks, Fred! -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD - Danen Consulting Services www.danen.net, www.freezer-burn.org - MandrakeSoft, Inc. Security www.linux-mandrake.com Current Linux kernel 2.4.8-34.1mdk uptime: 0 hours 52 minutes.
msg00051/pgp00000.pgp
Description: PGP signature
