diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-12-22 20:25:49 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-12-22 20:26:31 +0100 |
commit | 4e215d5f8dadecfffa34eee48c6180c14d99ad8f (patch) | |
tree | 0f7e696134cab83b98575cc7f8d99b689bf78269 | |
parent | gnome-base/nautilus: Keyword 43.1 ia64, #882511 (diff) | |
download | gentoo-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>
-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 \ |