summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tix/tix-8.4.3-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-tcltk/tix/tix-8.4.3-r1.ebuild b/dev-tcltk/tix/tix-8.4.3-r1.ebuild
index a4b7cf8d7caf..f7b7e623a740 100644
--- a/dev-tcltk/tix/tix-8.4.3-r1.ebuild
+++ b/dev-tcltk/tix/tix-8.4.3-r1.ebuild
@@ -27,7 +27,7 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_prepare() {
- (use x86-macos || use x64-macos) || epatch "${FILESDIR}"/${P}-link.patch
+ [[ ${CHOST} == *-darwin* ]] || epatch "${FILESDIR}"/${P}-link.patch
sed \
-e 's:-Os::g' \
-i configure tclconfig/tcl.m4 || die
@@ -48,7 +48,7 @@ src_install() {
# Bug 168897
doheader generic/tix.h
# Bug 201138
- if use x86-macos || use x64-macos; then
+ if [[ ${CHOST} == *-darwin* ]] ; then
mv "${ED}"/usr/$(get_libdir)/${MY_P}/libTix{,.}${PV}.dylib
dosym ${MY_P}/libTix.${PV}.dylib /usr/$(get_libdir)/libTix.${PV}.dylib
else