ports/ftp/wzdftpd/files/patch-ac-helpers__tls.m4
Alexey Dokuchaev 08f9c9628a ftp/wzdftpd: resurrect^Wreadd previously deleted port
Despite that original author stopped working on the project, it has
its userbase and remains fairly popular and demanded, known for its
versatility and capabilities, so:

  - Bring back from the attic and fix the build with -fno-common
  - Mark OPENSSL option as BROKEN for the time being
  - Expand the default options a bit to get more useful package
  - Tighten one regex (escape the dot) and kill stray backslash
  - Fix a typo and adjust WWW line in the port description text
  - Submitter assumes maintainership of the port (thanks!)

PR:		256840
Submitted by:	Robert Clausecker
2021-07-08 10:14:37 +00:00

11 lines
307 B
Text

--- ac-helpers/tls.m4.orig
+++ ac-helpers/tls.m4
@@ -22,7 +22,7 @@
)
if test "$gnutls" = "yes"; then
-AM_PATH_LIBGNUTLS(0.9.8,wzd_have_gnutls=yes)
+PKG_CHECK_MODULES(LIBGNUTLS, [gnutls], [wzd_have_gnutls=yes], [wzd_have_gnutls=no])
fi
# openssl is checked only if gnutls was not found or disabled