summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-10-23 07:39:58 +0000
committerMamoru Komachi <usata@gentoo.org>2004-10-23 07:39:58 +0000
commitd291a0198ffaf058191377a2fa800c16ca13ad23 (patch)
treea58ea171816c47e9ff5813553f6f3f3970aef8cf /x11-terms/hanterm/hanterm-3.1.6-r2.ebuild
parentFixed libtoolize for macos and keyworded ppc-macos, see bug #67510 (Manifest ... (diff)
downloadgentoo-2-d291a0198ffaf058191377a2fa800c16ca13ad23.tar.gz
gentoo-2-d291a0198ffaf058191377a2fa800c16ca13ad23.tar.bz2
gentoo-2-d291a0198ffaf058191377a2fa800c16ca13ad23.zip
Added to ~ppc-macos.
Diffstat (limited to 'x11-terms/hanterm/hanterm-3.1.6-r2.ebuild')
-rw-r--r--x11-terms/hanterm/hanterm-3.1.6-r2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild b/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild
index 16b3fcf82000..4085a048059f 100644
--- a/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild
+++ b/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild,v 1.15 2004/09/03 09:14:58 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/hanterm/hanterm-3.1.6-r2.ebuild,v 1.16 2004/10/23 07:39:58 usata Exp $
IUSE=""
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.hanterm.org/"
SRC_URI="http://download.kldp.net/hanterm/${P}.tar.gz"
SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="x86 ~ppc ~ppc-macos"
LICENSE="X11"
DEPEND="virtual/libc
@@ -22,7 +22,11 @@ src_unpack() {
unpack ${A}
cd ${S}
sed -i -e "s:extern char \*malloc();::" \
+ -e "s:extern char \*realloc();::" \
button.c charproc.c
+ if use ppc-macos || use macos ; then
+ sed -i -e "s:extern int sys_nerr;::" misc.c
+ fi
}
src_compile() {