summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-12-22 20:25:49 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-12-22 20:26:31 +0100
commit4e215d5f8dadecfffa34eee48c6180c14d99ad8f (patch)
tree0f7e696134cab83b98575cc7f8d99b689bf78269 /dev-ml
parentgnome-base/nautilus: Keyword 43.1 ia64, #882511 (diff)
downloadgentoo-4e215d5f8dadecfffa34eee48c6180c14d99ad8f.tar.gz
gentoo-4e215d5f8dadecfffa34eee48c6180c14d99ad8f.tar.bz2
gentoo-4e215d5f8dadecfffa34eee48c6180c14d99ad8f.zip
dev-ml/ocamlnet: get version from $PV
Closes: https://bugs.gentoo.org/880945 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild (renamed from dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild)8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild
index 6bd4d2437240..0029b1219894 100644
--- a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild
+++ b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild
@@ -53,6 +53,14 @@ ocamlnet_use_enable() {
fi
}
+src_prepare() {
+ sed -i \
+ -e "s:^version.*$:version=${PV}:" \
+ configure \
+ || die
+ default
+}
+
src_configure() {
./configure \
-bindir /usr/bin \