summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-01-03 16:33:37 +0000
committerMamoru Komachi <usata@gentoo.org>2004-01-03 16:33:37 +0000
commit8720a0ca1ac1df1caf1fda20616a43c82c6888aa (patch)
treeb9e407106a009034554f3ec753d5e603eb64c7a6 /app-dicts/eblook
parentFixed compile bug when >=dev-libs/eb-4 (diff)
downloadgentoo-2-8720a0ca1ac1df1caf1fda20616a43c82c6888aa.tar.gz
gentoo-2-8720a0ca1ac1df1caf1fda20616a43c82c6888aa.tar.bz2
gentoo-2-8720a0ca1ac1df1caf1fda20616a43c82c6888aa.zip
Fixed compile bug when >=dev-libs/eb-4
Diffstat (limited to 'app-dicts/eblook')
-rw-r--r--app-dicts/eblook/ChangeLog8
-rw-r--r--app-dicts/eblook/Manifest5
-rw-r--r--app-dicts/eblook/eblook-1.5.1.ebuild17
-rw-r--r--app-dicts/eblook/files/eblook-1.5.1-eb4-gentoo.diff11
4 files changed, 33 insertions, 8 deletions
diff --git a/app-dicts/eblook/ChangeLog b/app-dicts/eblook/ChangeLog
index cedf8c089c28..9a738ba4754c 100644
--- a/app-dicts/eblook/ChangeLog
+++ b/app-dicts/eblook/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-dicts/eblook
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/eblook/ChangeLog,v 1.1 2003/10/27 12:59:07 usata Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/eblook/ChangeLog,v 1.2 2004/01/03 16:33:29 usata Exp $
+
+ 04 Jan 2004; <usata@gentoo.org> eblook-1.5.1.ebuild,
+ files/eblook-1.5.1-eb4-gentoo.diff:
+ Fixed compile bug when >=dev-libs/eb-4
*eblook-1.5.1 (27 Oct 2003)
diff --git a/app-dicts/eblook/Manifest b/app-dicts/eblook/Manifest
index f665a5b51e9a..e7db01900d69 100644
--- a/app-dicts/eblook/Manifest
+++ b/app-dicts/eblook/Manifest
@@ -1,4 +1,5 @@
-MD5 df2dab1da5c3206dbcca8f7b41c05e10 eblook-1.5.1.ebuild 694
+MD5 7f3392f262ffd215afc81b6f572faf27 eblook-1.5.1.ebuild 824
+MD5 563d5b955b02545e8378f6d4715fe681 ChangeLog 464
MD5 043e2d431237aeec1769801a5b0214df metadata.xml 251
-MD5 1db70765801c0e8d4af45533ff0a02ba ChangeLog 329
MD5 1475d7679421c071476945659472b1d8 files/digest-eblook-1.5.1 64
+MD5 adb0e4ea729994eb4069e0a2eef68470 files/eblook-1.5.1-eb4-gentoo.diff 393
diff --git a/app-dicts/eblook/eblook-1.5.1.ebuild b/app-dicts/eblook/eblook-1.5.1.ebuild
index c8c3b87413e0..cf3607bda198 100644
--- a/app-dicts/eblook/eblook-1.5.1.ebuild
+++ b/app-dicts/eblook/eblook-1.5.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/eblook/eblook-1.5.1.ebuild,v 1.1 2003/10/27 12:59:07 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/eblook/eblook-1.5.1.ebuild,v 1.2 2004/01/03 16:33:29 usata Exp $
IUSE=""
@@ -10,14 +10,23 @@ SRC_URI="http://openlab.ring.gr.jp/edict/eblook/dist/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
-DEPEND=">=dev-libs/eb-3.3.4"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.53"
+RDEPEND=">=dev-libs/eb-3.3.4"
-S=${WORKDIR}/${P}
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-eb4-gentoo.diff
+}
src_compile() {
+ autoreconf || die
+
econf --with-eb-conf=/etc/eb.conf || die
emake || die
}
diff --git a/app-dicts/eblook/files/eblook-1.5.1-eb4-gentoo.diff b/app-dicts/eblook/files/eblook-1.5.1-eb4-gentoo.diff
new file mode 100644
index 000000000000..c033d681443e
--- /dev/null
+++ b/app-dicts/eblook/files/eblook-1.5.1-eb4-gentoo.diff
@@ -0,0 +1,11 @@
+diff -urN eblook-1.5.1.ORIG/configure.in eblook-1.5.1/configure.in
+--- eblook-1.5.1.ORIG/configure.in 2002-03-16 16:14:21.000000000 +0900
++++ eblook-1.5.1/configure.in 2004-01-04 01:21:08.526699688 +0900
+@@ -33,6 +33,7 @@
+
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
++AC_C_PROTOTYPES
+ AC_TYPE_OFF_T
+ AC_TYPE_SIZE_T
+ if test $ac_cv_type_size_t = yes ; then