summaryrefslogtreecommitdiff
path: root/net-fs/netatalk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-22 20:41:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-22 20:41:01 +0100
commitea6f03ddd591a238d9c5004d5ffbfaf7215c01ee (patch)
treee49b7109895d4bc1245d101acbdd2bc77efb48ef /net-fs/netatalk
parent63627de4936707c40b5c4dca4f23e9fe1e9c4837 (diff)
gentoo auto-resync : 22:10:2023 - 20:41:01
Diffstat (limited to 'net-fs/netatalk')
-rw-r--r--net-fs/netatalk/Manifest5
-rw-r--r--net-fs/netatalk/files/netatalk-3.1.12-fno-common.patch11
-rw-r--r--net-fs/netatalk/files/netatalk-3.1.12-my_bool.patch16
-rw-r--r--net-fs/netatalk/files/netatalk-3.1.12-tracker3.patch136
-rw-r--r--net-fs/netatalk/files/netatalk-3.1.7-gentoo.patch132
-rw-r--r--net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch34
6 files changed, 0 insertions, 334 deletions
diff --git a/net-fs/netatalk/Manifest b/net-fs/netatalk/Manifest
index b2306b2367be..09e0972cfa1c 100644
--- a/net-fs/netatalk/Manifest
+++ b/net-fs/netatalk/Manifest
@@ -1,10 +1,5 @@
-AUX netatalk-3.1.12-fno-common.patch 259 BLAKE2B f7ab7ea73d027784a3b22d7587d9b7d2319a06c65a381e4e3a87f7b1d1f81c5f339f6d0f06e1cfde35946b6dc4cb6d8829dbc9d511bbed2a5ff30f24f6ab9fae SHA512 1a5875c1db68d7eba026471fa6d2f021d60e43c819ad420104f3b4b5843ca5bca1a83536262f7a97f0d2a2e8a875c2303e2d4c5750490320442af118b2498a01
-AUX netatalk-3.1.12-my_bool.patch 664 BLAKE2B f3eb18c0f73eea3b2caba305e052ce1705f40c1542ae14f0e3160e353b1da6b7c94be03285277b58888f01ed309ef62e7ee9736b5d7bd717d33123feb0aee107 SHA512 c09298f83b6e9d650c08dac410478122f203c38d7e10918b52456da828c34643ba0e2dba359d872d76d167217ce9dcf5a697761743452e482b87da5c7b3b1c0b
-AUX netatalk-3.1.12-tracker3.patch 5775 BLAKE2B 41ec400343a3b23472925d78858d857334aea963c47a441b778760b054d59975cbcc018be88ef141326dcadc7efa1af7109227fc1afc1c2a2894550a6212a648 SHA512 1598afa96e92dd912fd8e8d9ff246bb6a6dc6f99e85b20d6393cefe7487498693b78c5d90f1b0fb0fd21fbcb65983db2b0fbb313ded712df2cdbf37ccfa377f7
AUX netatalk-3.1.17-disable-ld-library-path.patch 1926 BLAKE2B a127b8a5e2b3586b4f1511bbba4613965c0d448b9c5fe8b58e8cea0b37c0644625d8de79861d5100c18a93a2285c9dd3bfd2b9a48662b45a80a820eda4a86327 SHA512 fa9b0c247b4379d6a53a80c8cfdb25e5dbef589e0ad964dfa21c40b39fdbadde738d9a8dc474e7db5281772e02e58c17b04a4806024549913962a9a5644fd6e5
AUX netatalk-3.1.17-gentoo.patch 4472 BLAKE2B 841edfbd1fd844bd5d77b5b79d30622878d5409be55eca5f077a269bd99bf7b746073020b3a3291f69abb15eb63e0b4ae151db5d396d76746449cba8ba51e3fc SHA512 e039072e5d416d6839bb54f1b2c29beb6d373386e80ab478198c72750522426dc36852423df4b517305b0ba2ecdc157b7677ee96f6f93253d4e75537e514725d
-AUX netatalk-3.1.7-gentoo.patch 4910 BLAKE2B cfff6844b53dfbae3336739df3e89baede2c9ed88566f0c3831d0a1e25e1c0aff8bbb5e09a36fd2b59b2ed7dc3fd0c9a3a68f80d65717f59538071cf1395c98e SHA512 5b8ff4ba306e1467d089df9c3f9dcfb22c4c21cce2c6b53e29dc84006efda0b88609cd00a01a2eec8f153d85d3c7283a1b5123219ecce1fe120a143290f3958f
-AUX netatalk-3.1.8-disable-ld-library-path.patch 1860 BLAKE2B 0c5c8671754c2868236c7b0603ad738b4ba5443f7fa61b9f32052103de33a611bdc628210785b9aee5feaaeea4fee969bc77ac90e494a7cfc72c10f567ee3f22 SHA512 971e1d4787f94e3f608dd7de4ea8721d3027aacc5b6461fbee0332d7434704336a35c2962d54c4b380bb3cf76c56d9cd6e8bf094f9bd9a0958054bf83e25299b
DIST netatalk-3.1.18.tar.xz 974852 BLAKE2B ba69e0bc08455dff46d8aa83fa1a2eda6eac60a0ab7a1b22bba8c47abb57ac70bd2879ec496c5e5f3da40a461e93fcecdf7c3e489daff18e995961f59d4fdc99 SHA512 06c56754afacbf9c71dc2ab7b80c231f5c25f522967e1d825b4e9e129233528bd1e7101144239b52636b9efe7f1f86a37749da8a8af611169155bca9711798d0
EBUILD netatalk-3.1.18.ebuild 4473 BLAKE2B a43738ba122c8aa3e3ab4f22a558cabcbdcbc3d876992bd72df76e1ad68905fe10ea167bd84f2b2fc88e1ebd2341833725fd79f3cce06c3b6ec9cd817aa96a69 SHA512 a9ff50a0caa09432b589524781618efaafd1b083f944f04749e56fc14498ae871cef9cbf33d602b9dd3eeb7ddce26a58d41d79c36d49a21fa4ecbf853f062b30
MISC metadata.xml 777 BLAKE2B b535a0966de9d50db312f63df1675eb7bef2d6e8fbbef23157c52c921f2bcd52f7c7ebbebdebd14dc474cf0a64b23c1689d16ae567f6760096f130653f9dab63 SHA512 4ce4eab0958c75ee4b8c7b268d4999aa4398a18da47e1a4d7850218bb75aa8a885c070eea38e7921356c9e59abcbb351eef507c3f3405fc1dc9c05e99ad8006b
diff --git a/net-fs/netatalk/files/netatalk-3.1.12-fno-common.patch b/net-fs/netatalk/files/netatalk-3.1.12-fno-common.patch
deleted file mode 100644
index 52a8cf3dce9a..000000000000
--- a/net-fs/netatalk/files/netatalk-3.1.12-fno-common.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/etc/afpd/directory.h
-+++ b/etc/afpd/directory.h
-@@ -91,7 +91,7 @@
- #define AR_UWRITE (1<<2)
- #define AR_UOWN (1<<7)
-
--q_t *invalid_dircache_entries;
-+extern q_t *invalid_dircache_entries;
-
- typedef int (*dir_loop)(struct dirent *, char *, void *);
-
diff --git a/net-fs/netatalk/files/netatalk-3.1.12-my_bool.patch b/net-fs/netatalk/files/netatalk-3.1.12-my_bool.patch
deleted file mode 100644
index 3b4ff99ec577..000000000000
--- a/net-fs/netatalk/files/netatalk-3.1.12-my_bool.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-fix my_bool compilation issue due to newer MySQL removing the type
-
-https://bugs.gentoo.org/692560
-Patch by Kostiantyn Gorbunov
-
---- a/libatalk/cnid/mysql/cnid_mysql.c 2016-03-10 10:06:20.000000000 +0200
-+++ b/libatalk/cnid/mysql/cnid_mysql.c 2019-09-02 19:55:04.361132422 +0300
-@@ -848,7 +848,7 @@
-
- /* Initialize and connect to MySQL server */
- EC_NULL( db->cnid_mysql_con = mysql_init(NULL) );
-- my_bool my_recon = true;
-+ bool my_recon = true;
- EC_ZERO( mysql_options(db->cnid_mysql_con, MYSQL_OPT_RECONNECT, &my_recon) );
- int my_timeout = 600;
- EC_ZERO( mysql_options(db->cnid_mysql_con, MYSQL_OPT_CONNECT_TIMEOUT, &my_timeout) );
diff --git a/net-fs/netatalk/files/netatalk-3.1.12-tracker3.patch b/net-fs/netatalk/files/netatalk-3.1.12-tracker3.patch
deleted file mode 100644
index bb946364f575..000000000000
--- a/net-fs/netatalk/files/netatalk-3.1.12-tracker3.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-From a7ff155b4a907af0cb979863758137aa5f8dce3f Mon Sep 17 00:00:00 2001
-From: Andrew Bauer <zonexpertconsulting@outlook.com>
-Date: Sat, 13 Mar 2021 13:16:36 -0600
-Subject: [PATCH] add support for tracker3
-
----
- etc/afpd/spotlight.c | 20 ++++++++++++++++++++
- etc/spotlight/sparql_parser.c | 2 +-
- etc/spotlight/sparql_parser.y | 2 +-
- include/atalk/spotlight.h | 2 ++
- macros/netatalk.m4 | 10 +++++++++-
- 5 files changed, 33 insertions(+), 3 deletions(-)
-
-diff --git a/etc/afpd/spotlight.c b/etc/afpd/spotlight.c
-index 9c8b4700..fa8f8083 100644
---- a/etc/afpd/spotlight.c
-+++ b/etc/afpd/spotlight.c
-@@ -581,6 +581,7 @@ static void slq_dump(void)
- * Tracker async callbacks
- ************************************************/
-
-+#ifndef HAVE_TRACKER3
- static void tracker_con_cb(GObject *object,
- GAsyncResult *res,
- gpointer user_data)
-@@ -600,6 +601,7 @@ static void tracker_con_cb(GObject *object,
-
- LOG(log_info, logtype_sl, "connected to Tracker");
- }
-+#endif
-
- static void tracker_cursor_cb(GObject *object,
- GAsyncResult *res,
-@@ -1312,6 +1314,9 @@ int spotlight_init(AFPObj *obj)
- static bool initialized = false;
- const char *attributes;
- struct sl_ctx *sl_ctx;
-+#ifdef HAVE_TRACKER3
-+ GError *error = NULL;
-+#endif
-
- if (initialized) {
- return 0;
-@@ -1342,8 +1347,23 @@ int spotlight_init(AFPObj *obj)
- setenv("XDG_CACHE_HOME", _PATH_STATEDIR, 0);
- setenv("TRACKER_USE_LOG_FILES", "1", 0);
-
-+#ifdef HAVE_TRACKER3
-+ sl_ctx->tracker_con = tracker_sparql_connection_bus_new ("org.freedesktop.Tracker3.Miner.Files",
-+ NULL, NULL, &error);
-+
-+ if (error) {
-+ LOG(log_error, logtype_sl, "Could not connect to Tracker: %s",
-+ error->message);
-+ sl_ctx->tracker_con = NULL;
-+ g_error_free(error);
-+ return -1;
-+ }
-+
-+ LOG(log_info, logtype_sl, "connected to Tracker3");
-+#else
- tracker_sparql_connection_get_async(sl_ctx->cancellable,
- tracker_con_cb, sl_ctx);
-+#endif
-
- initialized = true;
- return 0;
-diff --git a/etc/spotlight/sparql_parser.c b/etc/spotlight/sparql_parser.c
-index d6f5d3be..88b868ef 100644
---- a/etc/spotlight/sparql_parser.c
-+++ b/etc/spotlight/sparql_parser.c
-@@ -1455,7 +1455,7 @@ yyparse ()
- result_limit = "";
- ssp_result = talloc_asprintf(ssp_slq,
- "SELECT ?url WHERE "
-- "{ %s . ?obj nie:url ?url . FILTER(tracker:uri-is-descendant('file://%s/', ?url)) } %s",
-+ "{ %s . ?obj nie:isStoredAs ?file . ?file nie:url ?url . FILTER(tracker:uri-is-descendant('file://%s/', ?url)) } %s",
- (yyvsp[(1) - (1)].sval), ssp_slq->slq_scope, result_limit);
- (yyval.sval) = ssp_result;
- }
-diff --git a/etc/spotlight/sparql_parser.y b/etc/spotlight/sparql_parser.y
-index 9d609976..5201e3d3 100644
---- a/etc/spotlight/sparql_parser.y
-+++ b/etc/spotlight/sparql_parser.y
-@@ -78,7 +78,7 @@ expr {
- result_limit = "";
- ssp_result = talloc_asprintf(ssp_slq,
- "SELECT ?url WHERE "
-- "{ %s . ?obj nie:url ?url . FILTER(tracker:uri-is-descendant('file://%s/', ?url)) } %s",
-+ "{ %s . ?obj nie:isStoredAs ?file . ?file nie:url ?url . FILTER(tracker:uri-is-descendant('file://%s/', ?url)) } %s",
- $1, ssp_slq->slq_scope, result_limit);
- $$ = ssp_result;
- }
-diff --git a/include/atalk/spotlight.h b/include/atalk/spotlight.h
-index 0e64b860..19d71009 100644
---- a/include/atalk/spotlight.h
-+++ b/include/atalk/spotlight.h
-@@ -29,8 +29,10 @@
- #ifdef HAVE_TRACKER
- #include <gio/gio.h>
- #include <tracker-sparql.h>
-+#ifndef HAVE_TRACKER3
- #include <libtracker-miner/tracker-miner.h>
- #endif
-+#endif
-
- /******************************************************************************
- * Spotlight RPC and marshalling stuff
-diff --git a/macros/netatalk.m4 b/macros/netatalk.m4
-index 3bd03ccb..33ba5575 100644
---- a/macros/netatalk.m4
-+++ b/macros/netatalk.m4
-@@ -184,14 +184,22 @@ AC_DEFUN([AC_NETATALK_SPOTLIGHT], [
- AC_DEFINE(HAVE_TRACKER, 1, [Define if Tracker is available])
- AC_DEFINE_UNQUOTED(TRACKER_PREFIX, ["$ac_cv_tracker_install_prefix"], [Path to Tracker])
- AC_DEFINE_UNQUOTED([DBUS_DAEMON_PATH], ["$ac_cv_dbus_daemon"], [Path to dbus-daemon])
-+
-+ ac_cv_tracker_pkg_version_MAJOR=`echo $ac_cv_tracker_pkg_version | cut -d. -f1`
-+ if test $ac_cv_tracker_pkg_version_MAJOR -ge 3 ; then
-+ AC_DEFINE(HAVE_TRACKER3, 1, [Define if Tracker3 is used])
-+ fi
- fi
-
- dnl Tracker Managing Command
- if test x"$ac_cv_have_tracker" = x"yes" ; then
-- AC_CHECK_PROGS(ac_cv_tracker_manage, tracker tracker-control, , ["$ac_cv_tracker_prefix"/bin])
-+ AC_CHECK_PROGS(ac_cv_tracker_manage, tracker tracker3 tracker-control, , ["$ac_cv_tracker_prefix"/bin])
- if test x"$ac_cv_tracker_manage" = x"tracker" ; then
- TRACKER_MANAGING_COMMAND="tracker daemon"
- AC_DEFINE(TRACKER_MANAGING_COMMAND, "tracker daemon", [tracker managing command])
-+ elif test x"$ac_cv_tracker_manage" = x"tracker3" ; then
-+ TRACKER_MANAGING_COMMAND="tracker3 daemon"
-+ AC_DEFINE(TRACKER_MANAGING_COMMAND, "tracker3 daemon", [tracker managing command])
- elif test x"$ac_cv_tracker_manage" = x"tracker-control" ; then
- TRACKER_MANAGING_COMMAND="tracker-control"
- AC_DEFINE(TRACKER_MANAGING_COMMAND, "tracker-control", [tracker managing command])
diff --git a/net-fs/netatalk/files/netatalk-3.1.7-gentoo.patch b/net-fs/netatalk/files/netatalk-3.1.7-gentoo.patch
deleted file mode 100644
index 82dd788fc6d2..000000000000
--- a/net-fs/netatalk/files/netatalk-3.1.7-gentoo.patch
+++ /dev/null
@@ -1,132 +0,0 @@
- Makefile.am | 6 ------
- etc/netatalk/Makefile.am | 5 +++--
- etc/netatalk/afp_avahi.c | 2 +-
- etc/uams/Makefile.am | 20 ++++++++++----------
- libatalk/dsi/Makefile.am | 3 ++-
- libatalk/vfs/Makefile.am | 1 +
- macros/netatalk.m4 | 1 -
- 7 files changed, 17 insertions(+), 21 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index ec7f14d..b87fd8a 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -11,12 +11,6 @@ EXTRA_DIST = CONTRIBUTORS COPYRIGHT COPYING NEWS VERSION abigen.sh
- ACLOCAL_AMFLAGS = -I macros
- AUTOMAKE_OPTIONS = foreign
-
--if RUN_LDCONFIG
--install-exec-hook:
-- @printf "Running ldconfig to ensure libraries installed in system library directories are added to the dynamic linker cache ... "
-- @-@NETA_LDCONFIG@
-- @printf "done\n"
--endif
-
- if DEVELOPER
- abi-clean:
-diff --git a/etc/netatalk/Makefile.am b/etc/netatalk/Makefile.am
-index 5392b9d..3e62e2d 100644
---- a/etc/netatalk/Makefile.am
-+++ b/etc/netatalk/Makefile.am
-@@ -18,6 +18,7 @@ netatalk_LDADD = \
- $(top_builddir)/libatalk/libatalk.la
-
- netatalk_LDFLAGS =
-+netatalk_CPPFLAGS =
-
- if USE_BUILTIN_LIBEVENT
- netatalk_CFLAGS += \
-@@ -27,8 +28,8 @@ netatalk_CFLAGS += \
- netatalk_LDADD += \
- $(top_builddir)/libevent/libevent.la
- else
--netatalk_CFLAGS += @LIBEVENT_CFLAGS@
--netatalk_LDFLAGS += @LIBEVENT_LDFLAGS@ -levent
-+netatalk_CPPFLAGS += @LIBEVENT_CFLAGS@
-+netatalk_LDADD += @LIBEVENT_LDFLAGS@ -levent
- endif
-
- noinst_HEADERS = afp_zeroconf.h afp_avahi.h afp_mdns.h
-diff --git a/etc/netatalk/afp_avahi.c b/etc/netatalk/afp_avahi.c
-index d6b55dc..dade1e0 100644
---- a/etc/netatalk/afp_avahi.c
-+++ b/etc/netatalk/afp_avahi.c
-@@ -164,8 +164,8 @@ static void register_stuff(void) {
- return;
-
- fail:
-- time(NULL);
- // avahi_threaded_poll_quit(ctx->threaded_poll);
-+ return;
- }
-
- /* Called when publishing of service data completes */
-diff --git a/etc/uams/Makefile.am b/etc/uams/Makefile.am
-index 23fd3d1..0e882ea 100644
---- a/etc/uams/Makefile.am
-+++ b/etc/uams/Makefile.am
-@@ -95,16 +95,16 @@ uams_dhx_pam_la_CFLAGS = @SSL_CFLAGS@ @PAM_CFLAGS@
- uams_dhx2_pam_la_CFLAGS = @LIBGCRYPT_CFLAGS@ @PAM_CFLAGS@
- uams_gss_la_CFLAGS = @GSSAPI_CFLAGS@ @KRB5_CFLAGS@
-
--uams_guest_la_LDFLAGS = -module -avoid-version
--uams_randnum_la_LDFLAGS = -module -avoid-version @SSL_LIBS@
--uams_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@
--uams_pam_la_LDFLAGS = -module -avoid-version @PAM_LIBS@
--uams_pgp_la_LDFLAGS = -module -avoid-version @SSL_LIBS@
--uams_dhx_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@
--uams_dhx_pam_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@
--uams_dhx2_passwd_la_LDFLAGS = -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@
--uams_dhx2_pam_la_LDFLAGS = -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@
--uams_gss_la_LDFLAGS = -module -avoid-version @GSSAPI_LIBS@ @KRB5_LIBS@
-+uams_guest_la_LDFLAGS = -shared -module -avoid-version
-+uams_randnum_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@
-+uams_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@
-+uams_pam_la_LDFLAGS = -shared -module -avoid-version @PAM_LIBS@
-+uams_pgp_la_LDFLAGS = -shared -module -avoid-version @SSL_LIBS@
-+uams_dhx_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@
-+uams_dhx_pam_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @SSL_LIBS@ @PAM_LIBS@
-+uams_dhx2_passwd_la_LDFLAGS = -shared -module -avoid-version @CRYPT_LIBS@ @LIBGCRYPT_LIBS@
-+uams_dhx2_pam_la_LDFLAGS = -shared -module -avoid-version @LIBGCRYPT_LIBS@ @PAM_LIBS@
-+uams_gss_la_LDFLAGS = -shared -module -avoid-version @GSSAPI_LIBS@ @KRB5_LIBS@
-
- #
- # module compilation
-diff --git a/libatalk/dsi/Makefile.am b/libatalk/dsi/Makefile.am
-index 34fa76e..dbde336 100644
---- a/libatalk/dsi/Makefile.am
-+++ b/libatalk/dsi/Makefile.am
-@@ -1,9 +1,10 @@
- # Makefile.am for libatalk/dsi/
-
--INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys
-+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys
-
- LIBS = @LIBS@
-
- noinst_LTLIBRARIES = libdsi.la
-
- libdsi_la_SOURCES = dsi_attn.c dsi_close.c dsi_cmdreply.c dsi_getsess.c dsi_getstat.c dsi_init.c dsi_opensess.c dsi_read.c dsi_tcp.c dsi_tickle.c dsi_write.c dsi_stream.c
-+libdsi_la_LIBADD = $(WRAP_LIBS)
-diff --git a/libatalk/vfs/Makefile.am b/libatalk/vfs/Makefile.am
-index aa62aeb..8ac2045 100644
---- a/libatalk/vfs/Makefile.am
-+++ b/libatalk/vfs/Makefile.am
-@@ -6,4 +6,5 @@ libvfs_la_SOURCES = vfs.c unix.c ea_ad.c ea_sys.c extattr.c
-
- if HAVE_ACLS
- libvfs_la_SOURCES += acl.c
-+libvfs_la_LIBADD = $(ACL_LIBS)
- endif
-diff --git a/macros/netatalk.m4 b/macros/netatalk.m4
-index ea2bbff..40ab817 100644
---- a/macros/netatalk.m4
-+++ b/macros/netatalk.m4
-@@ -790,7 +790,6 @@ save_CFLAGS="$CFLAGS"
- save_LDFLAGS="$LDFLAGS"
- save_LIBS="$LIBS"
- CFLAGS=""
--LDFLAGS=""
- LIBS=""
- LDAP_CFLAGS=""
- LDAP_LDFLAGS=""
diff --git a/net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch b/net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch
deleted file mode 100644
index 0335366b23b5..000000000000
--- a/net-fs/netatalk/files/netatalk-3.1.8-disable-ld-library-path.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-there's no need to set LD_LIBRARY_PATH in order to perform link tests, and
-it's actually undesirable as it'll cause the toolchain to search a different
-path than the ones it's configured to (host lib wise).
-
-https://bugs.gentoo.org/564350
-
---- a/macros/db3-check.m4
-+++ b/macros/db3-check.m4
-@@ -142,15 +142,7 @@ if test "x$bdb_required" = "xyes"; then
- CPPFLAGS="-I${bdbdir}/include${subdir} $CPPFLAGS"
- LDFLAGS="-L$bdblibdir $LDFLAGS"
-
-- dnl -- Uses version set by NETATALK_BDB_HEADER to try to run
-- dnl -- a conftest that checks that header/lib version match
-- dnl -- $shlibpath_var is set by LIBTOOL, its value is
-- dnl -- LD_LIBRARY_PATH on many platforms. This will be fairly
-- dnl -- portable hopefully. Reference:
-- dnl -- http://lists.gnu.org/archive/html/autoconf/2009-03/msg00040.html
-- eval export $shlibpath_var=$bdblibdir
- NETATALK_BDB_TRY_LINK
-- eval export $shlibpath_var=$saved_shlibpath_var
-
- if test x"${atalk_cv_bdb_version}" = x"yes"; then
- BDB_CFLAGS="-I${bdbdir}/include${subdir}"
-@@ -174,9 +166,7 @@ if test "x$bdb_required" = "xyes"; then
- CPPFLAGS="-I${bdbdir}/include${subdir} $CPPFLAGS"
- LDFLAGS="-L$bdblibdir $LDFLAGS"
-
-- eval export $shlibpath_var=$bdblibdir
- NETATALK_BDB_TRY_LINK
-- eval export $shlibpath_var=$saved_shlibpath_var
-
- if test x"${atalk_cv_bdb_version}" = x"yes"; then
- BDB_CFLAGS="-I${bdbdir}/include${subdir}"