1 |
commit: 0c844a6603dbd16e406cb4f9e97a30ca87d05209 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 09:13:18 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 09:13:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c844a66 |
7 |
|
8 |
dev-ml/facile: VariableScope |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ml/facile/facile-1.1.3.ebuild | 12 ++++++------ |
14 |
1 file changed, 6 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/facile/facile-1.1.3.ebuild b/dev-ml/facile/facile-1.1.3.ebuild |
17 |
index 06cb817ed4b..2ae3f2c3be8 100644 |
18 |
--- a/dev-ml/facile/facile-1.1.3.ebuild |
19 |
+++ b/dev-ml/facile/facile-1.1.3.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -18,8 +18,6 @@ DEPEND="${RDEPEND} |
27 |
sys-apps/sed |
28 |
" |
29 |
|
30 |
-DOCS=( README ) |
31 |
- |
32 |
PATCHES=( "${FILESDIR}/${PN}"-1.1-make.patch ) # Fix building on FreeBSD |
33 |
|
34 |
src_prepare() { |
35 |
@@ -35,11 +33,14 @@ src_prepare() { |
36 |
-e 's:^.*facile\.cmxa::'\ |
37 |
-e 's:^.*facile\.a::' Makefile || die "failed to remove native code objects" |
38 |
fi |
39 |
+ sed -i \ |
40 |
+ -e 's|$(FACILE|$(DESTDIR)$(FACILE|g' \ |
41 |
+ Makefile || die |
42 |
} |
43 |
|
44 |
src_configure() { |
45 |
# This is a custom configure script and it does not support standard options |
46 |
- ./configure --faciledir "${D}"$(ocamlc -where)/facile/ || die |
47 |
+ ./configure || die |
48 |
} |
49 |
|
50 |
src_test() { |
51 |
@@ -48,6 +49,5 @@ src_test() { |
52 |
|
53 |
src_install() { |
54 |
dodir $(ocamlc -where) |
55 |
- emake install |
56 |
- einstalldocs |
57 |
+ default |
58 |
} |