From 6282f698b34ca34ce3c38270363e65ec609df814 Mon Sep 17 00:00:00 2001 From: David Holm Date: Tue, 7 Oct 2003 12:32:04 +0000 Subject: Made some minor modifications to ebuild to make it compile on ppc --- app-doc/chmlib/ChangeLog | 5 ++++- app-doc/chmlib/Manifest | 4 ++-- app-doc/chmlib/chmlib-0.31.ebuild | 9 +++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) (limited to 'app-doc/chmlib') diff --git a/app-doc/chmlib/ChangeLog b/app-doc/chmlib/ChangeLog index 13665d35473f..6044e6ae9d0f 100644 --- a/app-doc/chmlib/ChangeLog +++ b/app-doc/chmlib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-doc/chmlib # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.1 2003/09/10 07:33:04 sergey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/ChangeLog,v 1.2 2003/10/07 12:31:54 dholm Exp $ + + 07 Oct 2003; David Holm chmlib-0.31.ebuild: + Made some minor modifications to make this compile on ppc. *chmlib-0.31 (10 Sep 2003) diff --git a/app-doc/chmlib/Manifest b/app-doc/chmlib/Manifest index bb94a4b929f1..640d41270942 100644 --- a/app-doc/chmlib/Manifest +++ b/app-doc/chmlib/Manifest @@ -1,3 +1,3 @@ -MD5 c339a8988557edfb9a108fd32cde4bc8 ChangeLog 440 -MD5 339909761610145f1d86150fe5fda5c8 chmlib-0.31.ebuild 1208 +MD5 5fa163008564717113e0aa973369545e ChangeLog 566 +MD5 045317d1f9a79dd3990af87d1cd4c3b6 chmlib-0.31.ebuild 1361 MD5 5e241d7b61c20016a54f95cc7538c41c files/digest-chmlib-0.31 59 diff --git a/app-doc/chmlib/chmlib-0.31.ebuild b/app-doc/chmlib/chmlib-0.31.ebuild index 8f466058ef02..b9645381d018 100644 --- a/app-doc/chmlib/chmlib-0.31.ebuild +++ b/app-doc/chmlib/chmlib-0.31.ebuild @@ -1,19 +1,24 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.31.ebuild,v 1.3 2003/09/29 17:29:08 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/chmlib/chmlib-0.31.ebuild,v 1.4 2003/10/07 12:31:54 dholm Exp $ DESCRIPTION="Library for MS CHM (compressed html) file format plus extracting and http server utils" HOMEPAGE="http://66.93.236.84/~jedwin/projects/chmlib/" SRC_URI="http://66.93.236.84/~jedwin/projects/chmlib/${PF}.tgz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="x86" +KEYWORDS="x86 ~ppc" src_unpack() { unpack ${A} cd ${S} sed -i "s:gcc-3.2:gcc:" Makefile sed -i "s:/usr/local/:/${D}/usr/:" Makefile + if [ "${ARCH}" = "ppc" ]; then + # In this case it is safe to take this rather + # stupid action =) + sed -i "s:__i386__:__powerpc__:" chm_lib.c + fi } src_compile() { -- cgit v1.2.3-65-gdbad