summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-04-11 13:25:24 -0400
committerMike Gilbert <floppym@gentoo.org>2020-04-11 13:26:03 -0400
commit5b8f16651df78afbe673c0f695d8c0e21f7c4db1 (patch)
treefbe9e7ffbc0dd5ce8aef24dd3b969fdf57589eeb /app-arch
parentdev-lang/perl: Fix corelist version in 5.30.2 (diff)
downloadgentoo-5b8f16651df78afbe673c0f695d8c0e21f7c4db1.tar.gz
gentoo-5b8f16651df78afbe673c0f695d8c0e21f7c4db1.tar.bz2
gentoo-5b8f16651df78afbe673c0f695d8c0e21f7c4db1.zip
app-arch/bzip2: add landmine to ensure SLOT gets updated
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/bzip2/bzip2-1.0.8-r1.ebuild6
-rw-r--r--app-arch/bzip2/bzip2-9999.ebuild7
2 files changed, 12 insertions, 1 deletions
diff --git a/app-arch/bzip2/bzip2-1.0.8-r1.ebuild b/app-arch/bzip2/bzip2-1.0.8-r1.ebuild
index e1e25b90ee47..f9c097a85a47 100644
--- a/app-arch/bzip2/bzip2-1.0.8-r1.ebuild
+++ b/app-arch/bzip2/bzip2-1.0.8-r1.ebuild
@@ -17,6 +17,12 @@ SLOT="0/1" # subslot = SONAME
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="static static-libs"
+if [[ ${PV} == 1.1* ]]; then
+ eerror "Please update SLOT due to accidental soname change in bzip2-1.0.7."
+ eerror "See commit 98da0ad82192d21ad74ae52366ea8466e2acea24 for reference."
+ die "SLOT update needed"
+fi
+
PATCHES=(
"${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch
"${FILESDIR}"/${PN}-1.0.8-saneso.patch
diff --git a/app-arch/bzip2/bzip2-9999.ebuild b/app-arch/bzip2/bzip2-9999.ebuild
index a0c9cd7a462f..266dd9856aac 100644
--- a/app-arch/bzip2/bzip2-9999.ebuild
+++ b/app-arch/bzip2/bzip2-9999.ebuild
@@ -16,9 +16,14 @@ else
fi
LICENSE="BZIP2"
SLOT="0/1" # subslot = SONAME
-
IUSE="static-libs"
+if [[ ${PV} == 1.1* ]]; then
+ eerror "Please update SLOT due to accidental soname change in bzip2-1.0.7."
+ eerror "See commit 98da0ad82192d21ad74ae52366ea8466e2acea24 for reference."
+ die "SLOT update needed"
+fi
+
multilib_src_configure() {
local emesonargs=(
-Ddefault_library=$(usex static-libs both shared)