commit:     137b645237ba9852530fae57d691114dccb37782
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  3 21:52:40 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug  3 21:53:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137b6452

mail-filter/libmilter: change subslot to ${PV} instead given ABI instability

I don't think libmilter preserves ABI stability even between sendmail
releases always.

Closes: https://bugs.gentoo.org/862642
Closes: https://bugs.gentoo.org/863407
Closes: https://bugs.gentoo.org/863455
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...libmilter-1.0.2_p3.ebuild => libmilter-1.0.2_p3-r1.ebuild} | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/mail-filter/libmilter/libmilter-1.0.2_p3.ebuild 
b/mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild
similarity index 92%
rename from mail-filter/libmilter/libmilter-1.0.2_p3.ebuild
rename to mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild
index a05a48af28ef..7fd66707b940 100644
--- a/mail-filter/libmilter/libmilter-1.0.2_p3.ebuild
+++ b/mail-filter/libmilter/libmilter-1.0.2_p3-r1.ebuild
@@ -29,11 +29,12 @@ fi
 S="${WORKDIR}/sendmail-${SENDMAIL_VER}"
 
 LICENSE="Sendmail"
-# We increment _pN when a new sendmail tarball comes out
-# We change the actual "main version" (1.0.2 at time of writing) when the 
version
-# of libmilter included in the tarball changes. But there seems to be ABI
-# stability between sendmail versions.
-SLOT="0/$(ver_cut 1-3)"
+# We increment _pN when a new sendmail tarball comes out and change the actual
+# "main version" (1.0.2 at time of writing) when the version
+# of libmilter included in the tarball changes.
+# We used to use $(ver_cut 1-3) here (assuming ABI stability between sendmail
+# versions) but that doesn't seem to apply for sendmail snapshots.
+SLOT="0/${PV}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="ipv6 poll"
 

Reply via email to