commit:     c75f1a32274c3e88845fa7c6e4e0ca432bad6bd3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  9 11:37:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  9 11:44:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75f1a32

net-dns/mydns: fix openssl libdir search path

Thanks-to: Xepher <xepher <AT> xepher.net>
Closes: https://bugs.gentoo.org/695574
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch | 12 ++++++++++++
 net-dns/mydns/mydns-1.2.8.31-r2.ebuild              |  1 +
 2 files changed, 13 insertions(+)

diff --git a/net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch 
b/net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch
new file mode 100644
index 00000000000..febd5281400
--- /dev/null
+++ b/net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/695574
+--- a/m4/mydns.m4
++++ b/m4/mydns.m4
+@@ -37,7 +37,7 @@
+ ##
+ AC_DEFUN([AC_WITH_OPENSSL_LIB],
+       [
+-              ac_ssl_lib_dirs="/lib /usr/lib /usr/local/lib /usr/ssl/lib 
/usr/local/ssl/lib"
++              ac_ssl_lib_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib 
/usr/ssl/lib /usr/local/ssl/lib"
+               AC_ARG_WITH(openssl-lib,
+                       AC_HELP_STRING([--with-openssl-lib=DIR], [look for the 
OpenSSL libraries in DIR]),
+                       ac_ssl_lib_dirs="$withval $ac_ssl_lib_dirs")

diff --git a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild 
b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
index febcd54ce5d..fac52425d23 100644
--- a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
+++ b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
@@ -28,6 +28,7 @@ REQUIRED_USE="^^ ( mysql postgres )"
 PATCHES=(
        "${FILESDIR}/${PN}-1.2.8.27-m4.patch"
        "${FILESDIR}/${P}-texinfo.patch"
+       "${FILESDIR}/${PN}-1.2.8.31-ssl-libdir.patch"
 )
 
 src_prepare() {

Reply via email to