diff options
author | Mart Raudsepp <leio@gentoo.org> | 2019-02-15 20:40:53 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2019-02-15 20:41:20 +0200 |
commit | 265a0a147477469b2f6b24deb7d0f3e37e2db2ae (patch) | |
tree | b6d11dc29d7f7b133a0890fb7dd94f92f096f27c /net-fs | |
parent | media-sound/gnome-music: bump to 3.26.2 (diff) | |
download | gentoo-265a0a147477469b2f6b24deb7d0f3e37e2db2ae.tar.gz gentoo-265a0a147477469b2f6b24deb7d0f3e37e2db2ae.tar.bz2 gentoo-265a0a147477469b2f6b24deb7d0f3e37e2db2ae.zip |
net-fs/netatalk: pass correct tracker-pkgconfig-version
At least since 1.0, the pkgconfig version is always 1.0 or 2.0, without
the minor version affecting it (as that's semantically backwards
compatible).
As we don't have any 0.x anymore, change it to pass the found tracker
major version with .0 suffixed. This should fix the option.
Before the fix it seems it just fails to find tracker non-fatally and
disabled tracker usage despite USE=tracker being used.
Bug: https://bugs.gentoo.org/672308
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/netatalk/netatalk-3.1.10.ebuild | 6 | ||||
-rw-r--r-- | net-fs/netatalk/netatalk-3.1.12.ebuild | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net-fs/netatalk/netatalk-3.1.10.ebuild b/net-fs/netatalk/netatalk-3.1.10.ebuild index 39d75a27f41b..60690c4d7c87 100644 --- a/net-fs/netatalk/netatalk-3.1.10.ebuild +++ b/net-fs/netatalk/netatalk-3.1.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 ) AUTOTOOLS_AUTORECONF=yes -inherit autotools-utils flag-o-matic multilib pam python-r1 systemd versionator +inherit autotools-utils eapi7-ver flag-o-matic multilib pam python-r1 systemd versionator DESCRIPTION="Open Source AFP server" HOMEPAGE="http://netatalk.sourceforge.net/" @@ -98,7 +98,7 @@ src_configure() { $(use_with ssl ssl-dir) $(use_with tracker) $(use_with tracker dbus-daemon "${EPREFIX}/usr/bin/dbus-daemon") - $(use_with tracker tracker-pkgconfig-version $(get_version_component_range 1-2 $(best_version app-misc/tracker | sed 's:app-misc/tracker-::g'))) + $(use_with tracker tracker-pkgconfig-version $(ver_cut 1 $(best_version app-misc/tracker | sed 's:app-misc/tracker-::g')).0) --enable-overwrite --disable-krb4-uam --disable-afs diff --git a/net-fs/netatalk/netatalk-3.1.12.ebuild b/net-fs/netatalk/netatalk-3.1.12.ebuild index 026d6442f0e8..1d6ee17df243 100644 --- a/net-fs/netatalk/netatalk-3.1.12.ebuild +++ b/net-fs/netatalk/netatalk-3.1.12.ebuild @@ -99,7 +99,7 @@ src_configure() { $(use_with ssl ssl-dir) $(use_with tracker) $(use_with tracker dbus-daemon "${EPREFIX}/usr/bin/dbus-daemon") - $(use_with tracker tracker-pkgconfig-version $(ver_cut 1-2 $(best_version app-misc/tracker | sed 's:app-misc/tracker-::g'))) + $(use_with tracker tracker-pkgconfig-version $(ver_cut 1 $(best_version app-misc/tracker | sed 's:app-misc/tracker-::g')).0) --enable-overwrite --disable-krb4-uam --disable-afs |