summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-09 11:43:54 +0000
committerSam James <sam@gentoo.org>2021-03-09 11:44:50 +0000
commitb63f030857c045cdc7d7bc65e8f0c85055859332 (patch)
tree2d0129c4fa69b16367ace6a5f868546a3f5333ee /net-dns/mydns
parentnet-dns/mydns: fix openssl libdir search path (diff)
downloadgentoo-b63f030857c045cdc7d7bc65e8f0c85055859332.tar.gz
gentoo-b63f030857c045cdc7d7bc65e8f0c85055859332.tar.bz2
gentoo-b63f030857c045cdc7d7bc65e8f0c85055859332.zip
net-dns/mydns: add extended libdir patch for postgresql, zlib, etc
Bug: 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-misc-libdir.patch41
-rw-r--r--net-dns/mydns/mydns-1.2.8.31-r2.ebuild1
2 files changed, 42 insertions, 0 deletions
diff --git a/net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch b/net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch
new file mode 100644
index 000000000000..0bab445621c6
--- /dev/null
+++ b/net-dns/mydns/files/mydns-1.2.8.31-misc-libdir.patch
@@ -0,0 +1,41 @@
+diff --git a/m4/mydns.m4 b/m4/mydns.m4
+index a2e39c2..c174a18 100644
+--- a/m4/mydns.m4
++++ b/m4/mydns.m4
+@@ -446,7 +446,7 @@ AC_DEFUN([AC_ENABLE_STATUS],
+ ##
+ AC_DEFUN([AC_LIB_Z],
+ [
+- ac_zlib_dirs="/lib /usr/lib /usr/local/lib"
++ ac_zlib_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib"
+ AC_ARG_WITH(zlib,
+ AC_HELP_STRING([--with-zlib=DIR], [look for the zlib compression library in DIR]),
+ ac_zlib_dirs="$withval $ac_zlib_dirs")
+@@ -476,7 +476,7 @@ AC_DEFUN([AC_LIB_Z],
+ ##
+ AC_DEFUN([AC_LIB_Z_STATIC],
+ [
+- ac_zlib_static_dirs="/lib /usr/lib /usr/local/lib"
++ ac_zlib_static_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib"
+ AC_ARG_WITH(zlib_static,
+ AC_HELP_STRING([--with-zlib-static=DIR], [look for the static zlib compression library in DIR]),
+ ac_zlib_static_dirs="$withval $ac_zlib_static_dirs")
+@@ -607,7 +607,7 @@ AC_DEFUN([AC_CHECK_MYSQL],
+ ##
+ AC_DEFUN([AC_LIB_PQ],
+ [
+- ac_mydns_lib_dirs="/usr/local/pgsql/lib /lib /usr/lib /usr/local/lib"
++ ac_mydns_lib_dirs="/lib /usr/lib /usr/lib64 /usr/local/lib /usr/local/pgsql/lib"
+ AC_ARG_WITH(pgsql-lib,
+ AC_HELP_STRING([--with-pgsql-lib=DIR],
+ [look for the PostgreSQL client library in DIR]),
+@@ -635,8 +635,7 @@ AC_DEFUN([AC_LIB_PQ],
+ ##
+ AC_DEFUN([AC_HEADER_PQ],
+ [
+- ac_mydns_header_dirs="/usr/local/pgsql/include /usr/include/postgresql \
+- /usr/include /usr/local/include"
++ ac_mydns_header_dirs="/usr/include/postgresql /usr/include /usr/local/include /usr/local/pgsql/include"
+ ac_mydns_header_found=no, ac_mydns_header_ok=no
+ AC_ARG_WITH(pgsql-include,
+ AC_HELP_STRING([--with-pgsql-include=DIR],
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 fac52425d239..6c69c1c647b6 100644
--- a/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
+++ b/net-dns/mydns/mydns-1.2.8.31-r2.ebuild
@@ -29,6 +29,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.2.8.27-m4.patch"
"${FILESDIR}/${P}-texinfo.patch"
"${FILESDIR}/${PN}-1.2.8.31-ssl-libdir.patch"
+ "${FILESDIR}/${PN}-1.2.8.31-misc-libdir.patch"
)
src_prepare() {