Skip to content

Commit

Permalink
dev-ml/camldbm: port to EAPI 7
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Nov 18, 2020
1 parent ca70daf commit b0adc6f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dev-ml/camldbm/camldbm-1.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit base
EAPI=7

DESCRIPTION="OCaml binding to the NDBM/GDBM Unix databases"
HOMEPAGE="http://forge.ocamlcore.org/projects/camldbm/"
Expand All @@ -12,13 +10,15 @@ SRC_URI="http://forge.ocamlcore.org/frs/download.php/728/${P}.tgz"
LICENSE="LGPL-2-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ppc x86"
IUSE=""

DEPEND=">=sys-libs/gdbm-1.9.1-r2[berkdb]
>=dev-lang/ocaml-3.12:=[ocamlopt]"
RDEPEND="${DEPEND}"

PATCHES=( "${FILESDIR}/hasgotfix.patch" "${FILESDIR}/include_fix.patch" )
PATCHES=(
"${FILESDIR}/hasgotfix.patch"
"${FILESDIR}/include_fix.patch"
)

src_install() {
dodir "$(ocamlc -where)/stublibs" # required and makefile does not create it
Expand Down

0 comments on commit b0adc6f

Please sign in to comment.