No subject

Jamie Landeg-Jones jamie at dyslexicfish.net
Tue Apr 1 01:30:53 UTC 2014


Hi. Many ports that require gnutls fail if security/gnutls3 and not
security/gnutls are installed.

( E.G. http://www.freebsd.org/cgi/query-pr.cgi?pr=186785 )

Whilst seemingly gnutls and gnutls3 can co-exist, the ports
that depend on gnutls being installed pass the lib dependency
when seeing the gnutls3 install, so therefore don't pull in
security/gnutls

Then, the ports themselves fail to build as pkg-config looks
for "gnutls" whilst only "gnutls3" exists.

As far as I can see, the options are:

1) Make ports depend on a particular library revision,
   so pulling in security/gnutls

or:

2) Replace gnutls with gnutls3

or:

3) Use a bit of bsd.port.Mk magic to handle this situation - so that
   if only gnutls3 is installed, the port will build correctly
   against it.

I don't know the roadmap for depreciating gnutls2 but if it's a
while yet, I'd guess option 3) is the best?

Any thoughts?

Cheers,
        Jamie



More information about the freebsd-ports mailing list