summaryrefslogtreecommitdiff
path: root/dev-ml/camldbm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
commitfcc5224904648a8e6eb528d7603154160a20022f (patch)
tree3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-ml/camldbm
parent2fd57282f0262ca084e05b0f2c63fbada395d02b (diff)
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-ml/camldbm')
-rw-r--r--dev-ml/camldbm/Manifest4
-rw-r--r--dev-ml/camldbm/camldbm-1.0.ebuild12
-rw-r--r--dev-ml/camldbm/camldbm-1.2.ebuild12
3 files changed, 24 insertions, 4 deletions
diff --git a/dev-ml/camldbm/Manifest b/dev-ml/camldbm/Manifest
index d58b26944a1c..26e1b37acbb5 100644
--- a/dev-ml/camldbm/Manifest
+++ b/dev-ml/camldbm/Manifest
@@ -2,6 +2,6 @@ AUX hasgotfix.patch 418 BLAKE2B f8f5a728cb1fa772db368faf3bfb6047fa570d0845155caf
AUX include_fix.patch 512 BLAKE2B e99ff15b037c2db639f14ff234c51c2a34c7dc2a5c3395d58675c89c240e2f9928913f38956a70d87f7d6f522937f1f51a9f77d245f095df8ddb0c0a988c285f SHA512 46a05033c469ec8b668e044a799d230b82539e2bb43067383f89f46f9ac128a2b43e8a5439dda16e368f283c608d6561109389d2aab3c8cdde7fbdb957433cad
DIST camldbm-1.0.tgz 14397 BLAKE2B 9b6971e30815ad6984254591af793819beb3859ddbf7bbd95ee744a2b09ce04968ecad9c7ff954e1606776d82988b3499f2569154586a937a61eb6d5c7b9465b SHA512 d0b752754650efb400f13f957e83fddccf1fc9ac9e1d11f453af94e9aa599546a316eb110685b3728b593c99cbf859cdc7bcf924c878cf8b6dead3dc413ccfbf
DIST camldbm-1.2.tar.gz 14823 BLAKE2B b9eda65c56440b1d13562e0d184474e585b13826038e77901961df475cbd73df39c9923e4f73c891252f17416e78acb3c3b42accf01dc5d6f51a72bafa930084 SHA512 56d317db420179f96a0f6a453f8a34ea16942f3ca5ed09dd6955517348dad281ad105b861378f1ebd01ec5c8a1c07d5e5db1ab4d255f9572ece64a86559705f0
-EBUILD camldbm-1.0.ebuild 723 BLAKE2B bdf2c174ea1dd59f20976b4e5efe6050d7bd28aac4b0324c4e79b02e6c1ef31f4437ce19b5f1cb3409b371ea197effc92ad7d6400e70682dae98715e736c2a0f SHA512 daeda32929c10a8b39d84a46d1d64bbd9fad534b065710a34cae0a19d06d8388dde5bf67d577507938ef65a5f73dcf0e64e4eaacd8d1ddd150b34521ea848d5f
-EBUILD camldbm-1.2.ebuild 716 BLAKE2B fb3136fc365a06c75b16ff28f9b1da9925fcbc6808bc1f8c0d4cf90f1ee4e6548b85a16fecb4b8fcfce4e579231f77c95f064b14ebe9d684c468fa46f7a812fe SHA512 bcd2c88c451d3fac82bb9afd4a0e0c5f351f8b092e2016dbb6bc666cbaf7391ff08069d66b8cd4f17b93554a50e492e214480551e3eda56590879d4410ecb0fc
+EBUILD camldbm-1.0.ebuild 844 BLAKE2B 0e1ff94d88d74e5801ef02d2bb7f14de3232fbf5078f10c4e3d00b4da544d569e8e2c2032712bbe6984029924c0a16b24e7e3e4c9053de975e2f6009e1f62086 SHA512 62c51e5c9ca22c09936450394470e4b0d265990556353f92a7511fe6cb35d8178955655faf61767effb32f11694658072ddb71c30e6b53dab9820caf1784dc3e
+EBUILD camldbm-1.2.ebuild 837 BLAKE2B e99dd3f389ec59c537395ef3029f00ca3cd42edcf5f8f5cea6dc8e9741f4b737463729c7335ab3740a3f1f46203cd331c132a7e341e809821848c18cf255682e SHA512 49ddd7244f3a22fc47aff5c45c3dcc5d8a5247d4e5b8b3b48a687d4784954ad0e7e3d433c3856be19a750a7ad85012c2bedbe473089eb7044ebea0158d579101
MISC metadata.xml 233 BLAKE2B 4654803edd576a76b70115913e26d306cc35a2356ed110fb6420e2dd48aef88ab71ee4f5b0cba71b4c2a7624ef42707d405700abf41748e532b9fe0f6cb3b778 SHA512 5158dd5a94fb8cc401825355cc3bb6f04768c6df59fc60593d99f530e27dc448223091a8af25d0e2f4ece9b8a7bf01f4f19f91321901c8f82f55cb4a190b7a70
diff --git a/dev-ml/camldbm/camldbm-1.0.ebuild b/dev-ml/camldbm/camldbm-1.0.ebuild
index 8f8d8b94854c..c025afbf93f0 100644
--- a/dev-ml/camldbm/camldbm-1.0.ebuild
+++ b/dev-ml/camldbm/camldbm-1.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="OCaml binding to the NDBM/GDBM Unix databases"
HOMEPAGE="http://forge.ocamlcore.org/projects/camldbm/"
SRC_URI="http://forge.ocamlcore.org/frs/download.php/728/${P}.tgz"
@@ -20,6 +22,14 @@ PATCHES=(
"${FILESDIR}/include_fix.patch"
)
+src_prepare() {
+ sed -i \
+ -e "s|ranlib|$(tc-getRANLIB)|g" \
+ Makefile \
+ || die
+ default
+}
+
src_install() {
dodir "$(ocamlc -where)/stublibs" # required and makefile does not create it
emake LIBDIR="${D}/$(ocamlc -where)" install
diff --git a/dev-ml/camldbm/camldbm-1.2.ebuild b/dev-ml/camldbm/camldbm-1.2.ebuild
index e8ed8d0f97ef..7fb74cd7c4c2 100644
--- a/dev-ml/camldbm/camldbm-1.2.ebuild
+++ b/dev-ml/camldbm/camldbm-1.2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="OCaml binding to the NDBM/GDBM Unix databases"
HOMEPAGE="https://github.com/ocaml/dbm"
SRC_URI="https://github.com/ocaml/dbm/archive/${P}.tar.gz"
@@ -21,6 +23,14 @@ QA_FLAGS_IGNORED=(
/usr/'lib.*'/ocaml/stublibs/dllcamldbm.so
)
+src_prepare() {
+ sed -i \
+ -e "s|ranlib|$(tc-getRANLIB)|g" \
+ Makefile \
+ || die
+ default
+}
+
src_install() {
dodir "$(ocamlc -where)/stublibs" # required and makefile does not create it
emake LIBDIR="${D}/$(ocamlc -where)" install