summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-01-07 09:19:53 +0100
committerFabian Groffen <grobian@gentoo.org>2021-01-07 09:19:53 +0100
commit878a20c0a63b0054c53ddd4e82923723f886057c (patch)
tree1fd439963faeb9f21f70233b18a882c6439bfdca /dev-tcltk
parentdev-lisp/sbcl: drop handling for x86-macos (diff)
downloadgentoo-878a20c0a63b0054c53ddd4e82923723f886057c.tar.gz
gentoo-878a20c0a63b0054c53ddd4e82923723f886057c.tar.bz2
gentoo-878a20c0a63b0054c53ddd4e82923723f886057c.zip
dev-tcltk/tix: drop handling for x86-macos
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
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