diff options
Diffstat (limited to 'dev-tcltk/expect/expect-5.45.ebuild')
-rw-r--r-- | dev-tcltk/expect/expect-5.45.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-tcltk/expect/expect-5.45.ebuild b/dev-tcltk/expect/expect-5.45.ebuild index 3dddb76bdb58..6fa64924c562 100644 --- a/dev-tcltk/expect/expect-5.45.ebuild +++ b/dev-tcltk/expect/expect-5.45.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.45.ebuild,v 1.2 2011/12/27 08:16:11 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.45.ebuild,v 1.3 2012/03/01 19:53:23 grobian Exp $ EAPI="3" @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris" IUSE="debug doc threads" # We need dejagnu for src_test, but dejagnu needs expect @@ -37,6 +37,10 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-5.45-headers.patch #337943 sed -i 's:ifdef HAVE_SYS_WAIT_H:ifndef NO_SYS_WAIT_H:' *.c + # fix install_name on darwin + [[ ${CHOST} == *-darwin* ]] && \ + epatch "${FILESDIR}"/${P}-darwin-install_name.patch + eautoconf } |