Toggling port dependencies

2006-04-11 Thread Erik Norgaard
Hi:

Some ports exists in multiple versions such as OpenLDAP, the most recent
and recommended is 2.3, but some other ports depends on another version
for example jabberd that requires 2.2. Some ports will let you choose
which version to compile against but jabberd don't.

How to I make a port compile against the installed version or a version
of my choice?

I know that it may fail, but I'd like to try.

Thanks, Erik

-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 11:39, Erik Norgaard wrote:
 Hi:

 Some ports exists in multiple versions such as OpenLDAP, the most recent
 and recommended is 2.3, but some other ports depends on another version
 for example jabberd that requires 2.2. Some ports will let you choose
 which version to compile against but jabberd don't.

 How to I make a port compile against the installed version or a version
 of my choice?

 I know that it may fail, but I'd like to try.


You could try  setting USE_OPENLDAP_VER=23 for the port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 13:25, RW wrote:

 You could try  setting USE_OPENLDAP_VER=23 for the port.

Actually, I see it conflict with 2.2, so it must be set globally.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Solved (I hope): Toggling port dependencies

2006-04-11 Thread Erik Norgaard
RW wrote:
 On Tuesday 11 April 2006 13:25, RW wrote:
 
 You could try  setting USE_OPENLDAP_VER=23 for the port.
 
 Actually, I see it conflict with 2.2, so it must be set globally.

Yes, OpenLDAP 2.3 conflicts with 2.2, but jabberd by default assumes 2.2
so the build fails. Then rather than downgrading OpenLDAP since 2.3 is
the recommended I'd prefer to force jabberd to build against 2.3.

I've seen many ports doing this, for example squid. Some announces how
to select a particular version. I don't know if your hint work with all
ports.

I tried your advice and things compiled and installed without any
problems - now the question is if it works ...

Thanks, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Solved (I hope): Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 16:10, Erik Norgaard wrote:
 RW wrote:
  On Tuesday 11 April 2006 13:25, RW wrote:
  You could try  setting USE_OPENLDAP_VER=23 for the port.
 
  Actually, I see it conflict with 2.2, so it must be set globally.

 Yes, OpenLDAP 2.3 conflicts with 2.2, but jabberd by default assumes 2.2
 so the build fails. Then rather than downgrading OpenLDAP since 2.3 is
 the recommended I'd prefer to force jabberd to build against 2.3.

 I've seen many ports doing this, for example squid. Some announces how
 to select a particular version. I don't know if your hint work with all
 ports.

Actually I think I got this wrong; USE_OPENLDAP_VER will create spurious LDAP 
dependencies if set globally. It should have been 

WANT_OPENLDAP_VER=23 

Dependencies on OpenLDAP are handled by  the common ports makefiles. jabberd 
doesn't specify a version.  I think it simply defaults to 2.2, even if 2.3 is 
installed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]