Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 02:32:09 +0100 (BST)
From:      Jamie Landeg-Jones <jamie@dyslexicfish.net>
To:        bdrewery@FreeBSD.org, ports@FreeBSD.org, wg@FreeBSD.org
Cc:        jamie@catnip.dyslexicfish.net
Subject:   Freebsd port security/gnutls3 problems
Message-ID:  <201404010132.s311W93M031911@catnip.dyslexicfish.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404010132.s311W93M031911>