summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Weiler <pylon@gentoo.org>2003-06-28 23:32:22 +0000
committerLars Weiler <pylon@gentoo.org>2003-06-28 23:32:22 +0000
commit3c585d127fcc384e35d4e588ed09909dff9e2af4 (patch)
treeda4f5b1f16454aef98c2a2c8d55a4ad4157907ca /app-text/recode
parentfixes bug #20141 (diff)
downloadgentoo-2-3c585d127fcc384e35d4e588ed09909dff9e2af4.tar.gz
gentoo-2-3c585d127fcc384e35d4e588ed09909dff9e2af4.tar.bz2
gentoo-2-3c585d127fcc384e35d4e588ed09909dff9e2af4.zip
fixes bug #20141
Diffstat (limited to 'app-text/recode')
-rw-r--r--app-text/recode/ChangeLog13
-rw-r--r--app-text/recode/Manifest4
-rw-r--r--app-text/recode/files/digest-recode-3.6-r12
-rw-r--r--app-text/recode/recode-3.6-r1.ebuild59
4 files changed, 75 insertions, 3 deletions
diff --git a/app-text/recode/ChangeLog b/app-text/recode/ChangeLog
index 8925fc9e51b1..f1589c570562 100644
--- a/app-text/recode/ChangeLog
+++ b/app-text/recode/ChangeLog
@@ -1,11 +1,22 @@
# ChangeLog for app-text/recode
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.11 2003/06/28 16:00:37 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/recode/ChangeLog,v 1.12 2003/06/28 23:32:13 pylon Exp $
28 Jun 2003; Martin Holzer <mholzer@gentoo.org> recode-3.5.ebuild,
recode-3.6.ebuild:
Updated SRC_URI. Closes #23534
+*recode-3.6-r1 (29 Jun 2003)
+
+ 29 Jun 2003; Lars Weiler <pylon@gentoo.org> recode-3.6-r1.ebuild:
+ Inherits the debian patches to recode, so that BigEndian machines can handle
+ utf8 correctly. Tested only on ppc yet.
+
+ This closes Bug #20141
+
+ Thanks to John Steele Scott <toojays@toojays.net> for giving the hint to this
+ patch.
+
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*recode-3.6 (1 Feb 2002)
diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest
index 15bbada2a812..31da6c210caf 100644
--- a/app-text/recode/Manifest
+++ b/app-text/recode/Manifest
@@ -1,7 +1,7 @@
-MD5 729f8746195b51088c9ab801c42d4acc ChangeLog 1705
+MD5 94c7e0090d3b7d5a12c7aaca0259daff ChangeLog 1703
MD5 6da38e4d3ea6c558a0c3337431db48ba recode-3.5.ebuild 967
MD5 9b857b4650f8dd58b024f5a94367a604 recode-3.6.ebuild 1174
-MD5 d5988a436d8868426303fba607bf425f recode-3.6-r1.ebuild 1280
+MD5 27635ab4fcef607df76d9bf2c5247494 recode-3.6-r1.ebuild 1281
MD5 9df596b08fd43d27c68ebb9801dc0cdd files/digest-recode-3.5 62
MD5 e442e84aa8cba1c847368c7fd1cefda1 files/digest-recode-3.6 63
MD5 6d0ba2283055f0ad0f91ff4dfd0acfd9 files/digest-recode-3.6-r1 133
diff --git a/app-text/recode/files/digest-recode-3.6-r1 b/app-text/recode/files/digest-recode-3.6-r1
new file mode 100644
index 000000000000..766f34f11c50
--- /dev/null
+++ b/app-text/recode/files/digest-recode-3.6-r1
@@ -0,0 +1,2 @@
+MD5 be3f40ad2e93dae5cd5f628264bf1877 recode-3.6.tar.gz 1751886
+MD5 4a8b1f14f5d00454264cee3a9afd2152 recode-3.6-debian.diff.bz2 19327
diff --git a/app-text/recode/recode-3.6-r1.ebuild b/app-text/recode/recode-3.6-r1.ebuild
new file mode 100644
index 000000000000..834c8b9dcd78
--- /dev/null
+++ b/app-text/recode/recode-3.6-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/recode/recode-3.6-r1.ebuild,v 1.1 2003/06/28 23:32:13 pylon Exp $
+
+IUSE="nls"
+
+inherit flag-o-matic base
+
+replace-flags "-march=pentium4" "-march=pentium3"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Convert files between various character sets."
+SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}-debian.diff.bz2"
+HOMEPAGE="http://www.gnu.org/software/recode/"
+
+DEPEND="virtual/glibc
+ nls? ( sys-devel/gettext )"
+
+
+KEYWORDS="~x86 ~sparc ppc"
+SLOT="0"
+LICENSE="GPL-2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/${P}-debian.diff
+}
+
+src_compile() {
+
+ local myconf=""
+ use nls || myconf="--disable-nls"
+
+ # gcc-3.2 crashes if we don't remove any -O?
+ if [ ! -z "`gcc --version | grep 3.2`" ] && [ ${ARCH} == "x86" ] ; then
+ CFLAGS=${CFLAGS/-O?/}
+ fi
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ $myconf || die
+
+ emake || die
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+
+ dodoc AUTHORS BACKLOG COPYING* ChangeLog INSTALL
+ dodoc NEWS README THANKS TODO
+}
+