summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-06-18 16:42:02 +0000
committerMamoru Komachi <usata@gentoo.org>2005-06-18 16:42:02 +0000
commit3c9159c3fe0b710cbffbc2be57c87748d57ed7aa (patch)
tree87155bcf39dcef3f165e189e1bead6140acfbfdc /app-shells/zsh
parentAdded to ~ppc (diff)
downloadgentoo-2-3c9159c3fe0b710cbffbc2be57c87748d57ed7aa.tar.gz
gentoo-2-3c9159c3fe0b710cbffbc2be57c87748d57ed7aa.tar.bz2
gentoo-2-3c9159c3fe0b710cbffbc2be57c87748d57ed7aa.zip
Don't use poll() on Mac OS X 10.4; bug #95515. Thanks to Kito <kito@gentoo.org>.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-shells/zsh')
-rw-r--r--app-shells/zsh/ChangeLog6
-rw-r--r--app-shells/zsh/zsh-4.2.5.ebuild13
2 files changed, 16 insertions, 3 deletions
diff --git a/app-shells/zsh/ChangeLog b/app-shells/zsh/ChangeLog
index 9ec9aeacfd5b..826a9b8c6d13 100644
--- a/app-shells/zsh/ChangeLog
+++ b/app-shells/zsh/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-shells/zsh
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.87 2005/06/14 19:51:54 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/ChangeLog,v 1.88 2005/06/18 16:42:02 usata Exp $
+
+ 18 Jun 2005; Mamoru KOMACHI <usata@gentoo.org> zsh-4.2.5.ebuild:
+ Don't use poll() on Mac OS X 10.4; bug #95515. Thanks to Kito
+ <kito@gentoo.org>.
14 Jun 2005; Fernando J. Pereda <ferdy@gentoo.org> zsh-4.2.5.ebuild:
Stable on alpha
diff --git a/app-shells/zsh/zsh-4.2.5.ebuild b/app-shells/zsh/zsh-4.2.5.ebuild
index ec32897926c7..debbd85d0b14 100644
--- a/app-shells/zsh/zsh-4.2.5.ebuild
+++ b/app-shells/zsh/zsh-4.2.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.2.5.ebuild,v 1.8 2005/06/14 19:51:54 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.2.5.ebuild,v 1.9 2005/06/18 16:42:02 usata Exp $
inherit eutils
@@ -78,12 +78,21 @@ src_compile() {
Makefile || die
fi
+ # hack for Darwin8 broken poll()
+ if use ppc-macos ; then
+ sed -i -e "s/define HAVE_POLL_H/undef HAVE_POLL_H/g" \
+ -e "s/define HAVE_POLL/undef HAVE_POLL/g" \
+ config.h
+ fi
+
# emake still b0rks
emake -j1 || die "make failed"
}
src_test() {
- addpredict /dev/ptmx
+ for f in /dev/pt* ; do
+ addpredict $f
+ done
make check || die "make check failed"
}