summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 22:36:53 +0100
committerSam James <sam@gentoo.org>2021-04-18 07:01:40 +0100
commitf0527608ca4349435304e70e794d2d643be3446c (patch)
treeee12b19263e5d4c9ffbaa7ac81ba78a6ca5db0b0 /dev-tcltk
parentdev-tcltk/tix: eutils->epatch (diff)
downloadgentoo-f0527608ca4349435304e70e794d2d643be3446c.tar.gz
gentoo-f0527608ca4349435304e70e794d2d643be3446c.tar.bz2
gentoo-f0527608ca4349435304e70e794d2d643be3446c.zip
dev-tcltk/tix: minor formatting, missing die
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tix/tix-8.4.3-r1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-tcltk/tix/tix-8.4.3-r1.ebuild b/dev-tcltk/tix/tix-8.4.3-r1.ebuild
index 51bb9844a86b..6eb65605d8f3 100644
--- a/dev-tcltk/tix/tix-8.4.3-r1.ebuild
+++ b/dev-tcltk/tix/tix-8.4.3-r1.ebuild
@@ -10,7 +10,6 @@ DESCRIPTION="A widget library for Tcl/Tk"
HOMEPAGE="http://tix.sourceforge.net/"
SRC_URI="mirror://sourceforge/tix/${MY_P}-src.tar.gz"
-IUSE=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
@@ -28,9 +27,11 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
[[ ${CHOST} == *-darwin* ]] || epatch "${FILESDIR}"/${P}-link.patch
+
sed \
-e 's:-Os::g' \
-i configure tclconfig/tcl.m4 || die
+
epatch \
"${FILESDIR}"/${P}-tcl8.5.patch \
"${FILESDIR}"/${P}-tcl8.6.patch
@@ -45,11 +46,12 @@ src_configure() {
src_install() {
default
- # Bug 168897
+ # Bug #168897
doheader generic/tix.h
- # Bug 201138
+
+ # Bug #201138
if [[ ${CHOST} == *-darwin* ]] ; then
- mv "${ED}"/usr/$(get_libdir)/${MY_P}/libTix{,.}${PV}.dylib
+ mv "${ED}"/usr/$(get_libdir)/${MY_P}/libTix{,.}${PV}.dylib || die
dosym ${MY_P}/libTix.${PV}.dylib /usr/$(get_libdir)/libTix.${PV}.dylib
else
dosym ${MY_P}/lib${MY_P}.so /usr/$(get_libdir)/lib${MY_P}.so