summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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