summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-09 11:37:18 +0000
committerSam James <sam@gentoo.org>2021-03-09 11:44:49 +0000
commitc75f1a32274c3e88845fa7c6e4e0ca432bad6bd3 (patch)
tree3f808458f4f13635376039a7edc12e807e4dc3ad /net-dns/mydns
parentnet-p2p/go-ipfs: verbump to 0.8.0 (diff)
downloadgentoo-c75f1a32274c3e88845fa7c6e4e0ca432bad6bd3.tar.gz
gentoo-c75f1a32274c3e88845fa7c6e4e0ca432bad6bd3.tar.bz2
gentoo-c75f1a32274c3e88845fa7c6e4e0ca432bad6bd3.zip
net-dns/mydns: fix openssl libdir search path
Thanks-to: Xepher <xepher@xepher.net> Closes: https://bugs.gentoo.org/695574 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns/mydns')
-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() {