summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-01-04 22:33:56 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-01-04 22:33:56 +0100
commit3bb73fda28be146e580c49e9f7c6d03af020e1ab (patch)
treebf05d8b79ddf58989bbbe1b2849d2e72878d06b8 /dev-tcltk/blt
parentnet-libs/nodejs: security bumps on all three branches (diff)
downloadgentoo-3bb73fda28be146e580c49e9f7c6d03af020e1ab.tar.gz
gentoo-3bb73fda28be146e580c49e9f7c6d03af020e1ab.tar.bz2
gentoo-3bb73fda28be146e580c49e9f7c6d03af020e1ab.zip
dev-tcltk/blt: Add subslot
Closes: https://bugs.gentoo.org/763576 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/blt')
-rw-r--r--dev-tcltk/blt/blt-2.5.3-r1.ebuild (renamed from dev-tcltk/blt/blt-2.5.3.ebuild)5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-tcltk/blt/blt-2.5.3.ebuild b/dev-tcltk/blt/blt-2.5.3-r1.ebuild
index 06eab0d5fb85..f7087b1b9de3 100644
--- a/dev-tcltk/blt/blt-2.5.3.ebuild
+++ b/dev-tcltk/blt/blt-2.5.3-r1.ebuild
@@ -4,6 +4,7 @@
EAPI=7
MYP=${PN}$(ver_cut 1-2)
+SHVER=$(ver_rs 1 '' $(ver_cut 1-2))
inherit autotools flag-o-matic multilib toolchain-funcs
@@ -13,7 +14,7 @@ SRC_URI="mirror://sourceforge/wize/${PN}-src-${PV}.zip
https://dev.gentoo.org/~tupone/distfiles/${P}-debian-patches.tar.gz"
IUSE="jpeg static-libs X"
-SLOT="0"
+SLOT="0/${SHVER}"
LICENSE="BSD"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
@@ -126,8 +127,6 @@ src_install() {
done
# fix for linking against shared lib with -lBLT or -lBLTlite
- SHVER=$(ver_cut 1-2)
- SHVER=$(ver_rs 1 '' ${SHVER})
dosym libBLT${SHVER}$(get_libname) /usr/$(get_libdir)/libBLT$(get_libname)
dosym libBLTlite${SHVER}$(get_libname) /usr/$(get_libdir)/libBLTlite$(get_libname)