summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \