diff options
Diffstat (limited to 'app-arch/lha/lha-114i-r4.ebuild')
-rw-r--r-- | app-arch/lha/lha-114i-r4.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app-arch/lha/lha-114i-r4.ebuild b/app-arch/lha/lha-114i-r4.ebuild index fc55fb930bd9..1317e4b6ffea 100644 --- a/app-arch/lha/lha-114i-r4.ebuild +++ b/app-arch/lha/lha-114i-r4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/lha-114i-r4.ebuild,v 1.1 2004/09/07 13:18:13 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/lha/lha-114i-r4.ebuild,v 1.2 2004/10/06 13:56:20 usata Exp $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="Utility for creating and opening lzh archives" HOMEPAGE="http://www2m.biglobe.ne.jp/~dolphin/lha/lha-unix.htm" @@ -10,23 +10,23 @@ SRC_URI="http://www2m.biglobe.ne.jp/~dolphin/lha/prog/${P}.tar.gz" LICENSE="lha" SLOT="0" -KEYWORDS="x86 ppc sparc alpha amd64 ppc64" +KEYWORDS="x86 ppc sparc alpha amd64 ppc64 ~ppc-macos" IUSE="" DEPEND="virtual/libc" src_unpack () { unpack ${A} ; cd ${S} - sed -i -e "/^OPTIMIZE/ s:-O2:${CFLAGS}:" Makefile cd src epatch ${FILESDIR}/${P}.diff epatch ${FILESDIR}/${PN}-command_buffer.patch epatch ${FILESDIR}/${P}-symlink.patch - epatch ${FILESDIR}/${P}-malloc.patch epatch ${FILESDIR}/${PN}-dir_length_bounds_check.patch } src_compile() { + use ppc-macos && append-flags -DHAVE_NO_LCHOWN + sed -i -e "/^OPTIMIZE/ s:-O2:${CFLAGS}:" Makefile emake || die } |