1 |
commit: db640842a6f2d74169b0af84b0f2ff3c685122c0 |
2 |
Author: Eray Aslan <eras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 5 09:51:23 2022 +0000 |
4 |
Commit: Eray Aslan <eras <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 5 09:51:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db640842 |
7 |
|
8 |
dev-db/lmdb: remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Eray Aslan <eras <AT> gentoo.org> |
12 |
|
13 |
dev-db/lmdb/Manifest | 1 - |
14 |
dev-db/lmdb/lmdb-0.9.28.ebuild | 79 ------------------------------------------ |
15 |
2 files changed, 80 deletions(-) |
16 |
|
17 |
diff --git a/dev-db/lmdb/Manifest b/dev-db/lmdb/Manifest |
18 |
index ccab97d2dad3..f9eaeb1242a4 100644 |
19 |
--- a/dev-db/lmdb/Manifest |
20 |
+++ b/dev-db/lmdb/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST openldap-LMDB_0.9.28.tar.gz 144520 BLAKE2B 3466da1ffde7350056fb3b16fc0068d78139c578fdf79cd6456ca0d98e2d7b3d899849ae42a7224335a4680e52b5f0feb2c4233eaf00ee3d9ee648ae10c3114a SHA512 0cdf9a2ce35617a3135cde96491fbbb73be9362de2b94d23eda44b65ce48362ff9dbdfe921c3255ed486aceb385fcb62b81f560b1037476f4741291b29ba0dce |
23 |
DIST openldap-LMDB_0.9.29.tar.gz 144545 BLAKE2B b7e55e4fa03e878a95b8f7c583684727a81d51a3acf2ec064d8fe26475bf9ffe4dddf16c2bccbda901b94b7c8d57f41fa63f7c09bcab46401bd000958a5b87b3 SHA512 b41ba5b139375d23617a79f4d322399df55745c5a4a63159ddbe0f1ded4707f0eb7f71acf3d1a4928f8fcab30a7b5db17e3e165441a61ec1dbd29f8d9efa65d1 |
24 |
|
25 |
diff --git a/dev-db/lmdb/lmdb-0.9.28.ebuild b/dev-db/lmdb/lmdb-0.9.28.ebuild |
26 |
deleted file mode 100644 |
27 |
index bf4b645a50cb..000000000000 |
28 |
--- a/dev-db/lmdb/lmdb-0.9.28.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,79 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
-inherit flag-o-matic multilib-minimal toolchain-funcs |
36 |
- |
37 |
-MY_P="${PN^^}_${PV}" |
38 |
- |
39 |
-DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store" |
40 |
-HOMEPAGE="https://symas.com/lmdb/technical/" |
41 |
-SRC_URI="https://git.openldap.org/openldap/openldap/-/archive/${MY_P}/openldap-${MY_P}.tar.gz" |
42 |
- |
43 |
-LICENSE="OPENLDAP" |
44 |
-SLOT="0/${PV}" |
45 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
-IUSE="static-libs" |
47 |
- |
48 |
-DEPEND="" |
49 |
-RDEPEND="" |
50 |
- |
51 |
-S="${WORKDIR}/openldap-${MY_P}/libraries/liblmdb" |
52 |
- |
53 |
-PATCHES=( |
54 |
- "${FILESDIR}/${PN}-fix-cursor-delete.patch" |
55 |
-) |
56 |
- |
57 |
-src_prepare() { |
58 |
- default |
59 |
- if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -lt 10 ]] ; then |
60 |
- # posix_memalign isn't available before 10.6, but on OSX |
61 |
- # malloc is always aligned for any addressable type |
62 |
- sed -i -e '/(__APPLE__)/a#define HAVE_MEMALIGN 1\n#define memalign(X,Y) malloc(X)' mdb.c || die |
63 |
- fi |
64 |
- multilib_copy_sources |
65 |
-} |
66 |
- |
67 |
-multilib_src_configure() { |
68 |
- local soname="-Wl,-soname,liblmdb$(get_libname 0)" |
69 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
70 |
- soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)" |
71 |
- replace-flags -O[123456789] -O1 |
72 |
- fi |
73 |
- sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \ |
74 |
- -e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \ |
75 |
- -e "s!^AR.*!AR = $(tc-getAR)!" \ |
76 |
- -e "s!^SOEXT.*!SOEXT = $(get_libname)!" \ |
77 |
- -e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \ |
78 |
- -e "/^libdir/s!lib\$!$(get_libdir)!" \ |
79 |
- -e "s!shared!shared ${soname}!" \ |
80 |
- "Makefile" || die |
81 |
- |
82 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
83 |
- # fdatasync lives in -lrt on Solaris 10 |
84 |
- [[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt |
85 |
- fi |
86 |
-} |
87 |
- |
88 |
-multilib_src_compile() { |
89 |
- emake LDLIBS+=" -pthread" |
90 |
-} |
91 |
- |
92 |
-multilib_src_install() { |
93 |
- emake DESTDIR="${D}" install |
94 |
- |
95 |
- mv "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname) \ |
96 |
- "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname 0) || die |
97 |
- dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname) |
98 |
- |
99 |
- insinto /usr/$(get_libdir)/pkgconfig |
100 |
- doins "${FILESDIR}/lmdb.pc" |
101 |
- sed -i -e "s!@PACKAGE_VERSION@!${PV}!" \ |
102 |
- -e "s!@prefix@!${EPREFIX}/usr!g" \ |
103 |
- -e "s!@libdir@!$(get_libdir)!" \ |
104 |
- "${ED}"/usr/$(get_libdir)/pkgconfig/lmdb.pc || die |
105 |
- |
106 |
- if ! use static-libs; then |
107 |
- rm "${ED}"/usr/$(get_libdir)/liblmdb.a || die |
108 |
- fi |
109 |
-} |