summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2003-10-07 12:32:04 +0000
committerDavid Holm <dholm@gentoo.org>2003-10-07 12:32:04 +0000
commit4fa051ed5f9963ade5a990e47767401a4809929d (patch)
tree457952a0d438bd2aaf57a0f4f727b5899749234f /app-doc/chmlib
parentFixing location of synaptics driver, thanks to Peter Ruskin. (diff)
downloadgentoo-2-4fa051ed5f9963ade5a990e47767401a4809929d.tar.gz
gentoo-2-4fa051ed5f9963ade5a990e47767401a4809929d.tar.bz2
gentoo-2-4fa051ed5f9963ade5a990e47767401a4809929d.zip
Made some minor modifications to ebuild to make it compile on ppc
Diffstat (limited to 'app-doc/chmlib')
-rw-r--r--app-doc/chmlib/ChangeLog5
-rw-r--r--app-doc/chmlib/Manifest4
-rw-r--r--app-doc/chmlib/chmlib-0.31.ebuild9
3 files changed, 13 insertions, 5 deletions
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 <dholm@gentoo.org> 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() {