On 2022/04/12 12:45, Nihal Jere wrote:
> Hi,
> 
> msmtp has had libtls support for a while, so I think using
> it would be preferable to GnuTLS. Here is an (untested) diff
> which replaces GnuTLS with libtls.

checking for libtls >= 0.0... no
configure: WARNING: library libtls not found:
configure: WARNING: Package libtls was not found in the pkg-config search path
configure: WARNING: libtls is provided by LibreSSL
configure: WARNING: Disabling TLS support, which is very bad. Consider using 
GnuTLS!

it wants a pkg-config file for libtls, which is not included in OpenBSD

> -WANTLIB = c iconv idn2 intl gnutls
> +WANTLIB = c iconv idn2 intl

When it does actually build against libtls the library dependency should
show up in "make port-lib-depends-check" too, for adding to WANTLIB.

>  MASTER_SITES =https://marlam.de/msmtp/releases/
>  EXTRACT_SUFX =.tar.xz
>  
> -LIB_DEPENDS =devel/libidn2 \
> -security/gnutls
> +LIB_DEPENDS =devel/libidn2

There is now no dependency path to libintl, devel/gettext must be added
to LIB_DEPENDS.

Reply via email to