summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-11-24 15:08:15 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-11-24 15:08:15 +0000
commitb6c3f3ee0dc5adc507a523c9f6585c8d82dcd99f (patch)
treec63aa1a3c5e940518506c8595bc1c10e2c66aaca /dev-db
parentStable for HPPA (bug #344327). (diff)
downloadgentoo-2-b6c3f3ee0dc5adc507a523c9f6585c8d82dcd99f.tar.gz
gentoo-2-b6c3f3ee0dc5adc507a523c9f6585c8d82dcd99f.tar.bz2
gentoo-2-b6c3f3ee0dc5adc507a523c9f6585c8d82dcd99f.zip
Bump for #331557
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/kyotocabinet/ChangeLog8
-rw-r--r--dev-db/kyotocabinet/files/fix_rpath-1.2.4.patch61
-rw-r--r--dev-db/kyotocabinet/files/remove_ldconfig-1.2.4.patch12
-rw-r--r--dev-db/kyotocabinet/kyotocabinet-1.2.25.ebuild48
4 files changed, 128 insertions, 1 deletions
diff --git a/dev-db/kyotocabinet/ChangeLog b/dev-db/kyotocabinet/ChangeLog
index baa1da63c4e0..676f96c2d806 100644
--- a/dev-db/kyotocabinet/ChangeLog
+++ b/dev-db/kyotocabinet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/kyotocabinet
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v 1.2 2010/07/11 11:27:52 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/ChangeLog,v 1.3 2010/11/24 15:08:15 patrick Exp $
+
+*kyotocabinet-1.2.25 (24 Nov 2010)
+
+ 24 Nov 2010; Patrick Lauer <patrick@gentoo.org> +files/fix_rpath-1.2.4.patch,
+ +files/remove_ldconfig-1.2.4.patch, +kyotocabinet-1.2.25.ebuild:
+ Bump for #331557
*kyotocabinet-1.0.4 (11 Jul 2010)
diff --git a/dev-db/kyotocabinet/files/fix_rpath-1.2.4.patch b/dev-db/kyotocabinet/files/fix_rpath-1.2.4.patch
new file mode 100644
index 000000000000..ac3c8f840d04
--- /dev/null
+++ b/dev-db/kyotocabinet/files/fix_rpath-1.2.4.patch
@@ -0,0 +1,61 @@
+diff --git a/Makefile.in b/Makefile.in
+index 4ac046d..c757dfa 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -53,8 +53,8 @@ CXXFLAGS = @MYCXXFLAGS@
+ LDFLAGS = @MYLDFLAGS@
+ CMDLDFLAGS = @MYCMDLDFLAGS@
+ LIBS = @LIBS@
+-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
+-RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
++LDENV =
++RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR)
+ POSTCMD = @MYPOSTCMD@
+
+
+diff --git a/configure.in b/configure.in
+index ad63005..f0448d6 100644
+--- a/configure.in
++++ b/configure.in
+@@ -34,27 +34,17 @@ MYDOCUMENTFILES="COPYING ChangeLog doc kyotocabinet.idl"
+ MYPCFILES="kyotocabinet.pc"
+
+ # Building flags
+-MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char -O2"
++MYCFLAGS="-Wall -ansi -pedantic -fPIC -fsigned-char"
+ MYCXXFLAGS="-Wall -fPIC -fsigned-char -O2"
+-MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include"
++MYCPPFLAGS="-I. -I\$(INCLUDEDIR)"
+ MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1"
+ MYCPPFLAGS="$MYCPPFLAGS -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__"
+-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib"
++MYLDFLAGS="-L. -L\$(LIBDIR)"
+ MYCMDLDFLAGS=""
+ MYRUNPATH="\$(LIBDIR)"
+ MYLDLIBPATHENV="LD_LIBRARY_PATH"
+ MYPOSTCMD="true"
+
+-# Building paths
+-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
+-CPATH="$HOME/include:/usr/local/include:$CPATH"
+-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
+-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
+-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
+-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
+-
+-
+
+ #================================================================
+ # Options
+diff --git a/kyotocabinet.pc.in b/kyotocabinet.pc.in
+index f21c87b..718f2d8 100644
+--- a/kyotocabinet.pc.in
++++ b/kyotocabinet.pc.in
+@@ -10,5 +10,5 @@ datadir=@datadir@
+ Name: Kyoto Cabinet
+ Description: another modern implementation of DBM
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lkyotocabinet @LIBS@
++Libs: -L${libdir} -lkyotocabinet
+ Cflags: -I${includedir}
diff --git a/dev-db/kyotocabinet/files/remove_ldconfig-1.2.4.patch b/dev-db/kyotocabinet/files/remove_ldconfig-1.2.4.patch
new file mode 100644
index 000000000000..8436a2648fbc
--- /dev/null
+++ b/dev-db/kyotocabinet/files/remove_ldconfig-1.2.4.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile.in b/Makefile.in
+index 6754032..b1f9055 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -123,7 +123,6 @@ install :
+ cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR)
+ mkdir -p $(DESTDIR)$(PCDIR)
+ cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR)
+- -[ "$$UID" = 0 ] && PATH=/sbin:/usr/sbin:$(PATH) ldconfig 2>/dev/null || true
+ @printf '\n'
+ @printf '#================================================================\n'
+ @printf '# Thanks for using Kyoto Cabinet.\n' \ No newline at end of file
diff --git a/dev-db/kyotocabinet/kyotocabinet-1.2.25.ebuild b/dev-db/kyotocabinet/kyotocabinet-1.2.25.ebuild
new file mode 100644
index 000000000000..2811c7f5d298
--- /dev/null
+++ b/dev-db/kyotocabinet/kyotocabinet-1.2.25.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/kyotocabinet/kyotocabinet-1.2.25.ebuild,v 1.1 2010/11/24 15:08:15 patrick Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="A straightforward implementation of DBM"
+HOMEPAGE="http://fallabs.com/kyotocabinet/"
+SRC_URI="${HOMEPAGE}pkg/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
+IUSE="debug doc examples"
+
+DEPEND="sys-libs/zlib
+ app-arch/xz-utils"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/fix_rpath-1.2.4.patch"
+ epatch "${FILESDIR}/remove_ldconfig-1.2.4.patch"
+ epatch "${FILESDIR}/remove_docinst.patch"
+}
+
+src_configure() {
+ econf $(use_enable debug) --enable-lzma
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ if use examples; then
+ insinto /usr/share/${PF}/example
+ doins example/* || die "Install failed"
+ fi
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins -r doc/* || die "Install failed"
+ fi
+}
+
+src_test() {
+ emake -j1 check || die "Tests failed"
+}