summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-03-30 18:49:32 +0200
committerArsen Arsenović <arsen@gentoo.org>2023-03-30 19:28:11 +0200
commit86d51f8fb503db6f6f023efdb1ebca4590404fa7 (patch)
tree27c06bc4b28e503089879e0b33c36f6d6b7678cd /x11-libs
parentdev-libs/libdnet: Stabilize 1.16.1 ppc, #899384 (diff)
downloadgentoo-86d51f8fb503db6f6f023efdb1ebca4590404fa7.tar.gz
gentoo-86d51f8fb503db6f6f023efdb1ebca4590404fa7.tar.bz2
gentoo-86d51f8fb503db6f6f023efdb1ebca4590404fa7.zip
x11-libs/wxGTK: Fix version handling in 3.2.2.1
Closes: https://bugs.gentoo.org/895982 Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild (renamed from x11-libs/wxGTK/wxGTK-3.2.2.1.ebuild)6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-libs/wxGTK/wxGTK-3.2.2.1.ebuild b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
index 6198b73591d1..bba30b538faf 100644
--- a/x11-libs/wxGTK/wxGTK-3.2.2.1.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
@@ -5,10 +5,10 @@ EAPI=8
inherit multilib-minimal
-WXSUBVERSION=${PV}-gtk3 # 3.2.1-gtk3
-WXVERSION=${PV} # 3.2.1
+WXSUBVERSION="${PV}-gtk3" # 3.2.1-gtk3
+WXVERSION="$(ver_cut 1-3)" # 3.2.1
# Make sure that this matches the number of components in ${PV}
-WXRELEASE=${WXVERSION%.*.*}-gtk3 # 3.2-gtk3
+WXRELEASE="$(ver_cut 1-2)-gtk3" # 3.2-gtk3
WXRELEASE_NODOT=${WXRELEASE//./} # 32-gtk3
DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"