summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dns/mydns/files/mydns-1.2.8.31-ssl-libdir.patch12
-rw-r--r--net-dns/mydns/mydns-1.2.8.31-r2.ebuild1
2 files changed, 13 insertions, 0 deletions
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 000000000000..febd52814006
--- /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 febcd54ce5da..fac52425d239 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() {