1 |
commit: 58175cd3384d5601485a578ccbb1b4aba1010e4f |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 1 22:50:12 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 1 22:50:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=58175cd3 |
7 |
|
8 |
dev-scheme/mit-scheme-c: minor fixes |
9 |
|
10 |
Closes: https://bugs.gentoo.org/855605 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild | 33 ++++++++++++++----------- |
14 |
1 file changed, 19 insertions(+), 14 deletions(-) |
15 |
|
16 |
diff --git a/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild b/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild |
17 |
index 30b49908..abbbbb33 100644 |
18 |
--- a/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild |
19 |
+++ b/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild |
20 |
@@ -16,17 +16,21 @@ IUSE="doc" # emacs" |
21 |
|
22 |
#SITEFILE="50mitscheme-gentoo.el" |
23 |
|
24 |
-RDEPEND="app-crypt/mhash |
25 |
+RDEPEND=" |
26 |
+ app-crypt/mhash |
27 |
dev-db/postgresql |
28 |
dev-libs/libmcrypt |
29 |
dev-libs/openssl |
30 |
sys-libs/gdbm |
31 |
sys-libs/ncurses |
32 |
- x11-libs/libX11" |
33 |
+ x11-libs/libX11 |
34 |
+" |
35 |
DEPEND="${RDEPEND}" |
36 |
BDEPEND="doc? ( dev-texlive/texlive-latexextra )" |
37 |
|
38 |
src_prepare() { |
39 |
+ default |
40 |
+ |
41 |
sed "s:@for:@+for:" -i \ |
42 |
Makefile || die "sed failed" |
43 |
sed "s:make:make -j1:" -i \ |
44 |
@@ -36,34 +40,35 @@ src_prepare() { |
45 |
} |
46 |
|
47 |
src_configure() { |
48 |
- if use doc; then |
49 |
+ if use doc ; then |
50 |
cd "${S}"/doc |
51 |
econf |
52 |
fi |
53 |
} |
54 |
|
55 |
src_compile() { |
56 |
- cd "${S}"/src |
57 |
- ./etc/make-liarc.sh --prefix=/usr --exec-prefix=/usr --libdir=/usr/$(get_libdir) || die "making liar C failed" |
58 |
- |
59 |
- if use doc ; then |
60 |
- cd "${S}"/doc |
61 |
- emake -j1 || die "emake doc failed" |
62 |
- fi |
63 |
+ cd "${S}"/src || die |
64 |
|
65 |
- cd .. |
66 |
+ ./etc/make-liarc.sh \ |
67 |
+ --prefix=/usr --exec-prefix=/usr --libdir=/usr/$(get_libdir) || |
68 |
+ die "making liar C failed" |
69 |
|
70 |
# if use emacs ; then |
71 |
-# elisp-compile etc/*.el || die |
72 |
+# elisp-compile "${S}"/etc/*.el || die |
73 |
# fi |
74 |
+ |
75 |
+ use doc && emake -C "${S}"/doc -j1 |
76 |
} |
77 |
|
78 |
src_install() { |
79 |
- cd "${S}"/src |
80 |
- emake DESTDIR="${D}" install || die "make install failed" |
81 |
+ emake -C "${S}"/src DESTDIR="${D}" install || die "make install failed" |
82 |
+ |
83 |
+ # elisp |
84 |
|
85 |
cd "${S}"/doc |
86 |
+ |
87 |
doman scheme.1 || die "doman failed" |
88 |
+ |
89 |
if use doc ; then |
90 |
docinto html |
91 |
dodoc index.html || die "dhtml failed" |