summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-07-02 00:50:12 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-07-02 00:50:12 +0200
commit58175cd3384d5601485a578ccbb1b4aba1010e4f (patch)
treee2a6ee03bd4f887aea8fbbee929a82647a86a4a2
parentRevert "licenses: Add missing LLGPL-2.1" (diff)
downloadlisp-58175cd3384d5601485a578ccbb1b4aba1010e4f.tar.gz
lisp-58175cd3384d5601485a578ccbb1b4aba1010e4f.tar.bz2
lisp-58175cd3384d5601485a578ccbb1b4aba1010e4f.zip
dev-scheme/mit-scheme-c: minor fixes
Closes: https://bugs.gentoo.org/855605 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild33
1 files changed, 19 insertions, 14 deletions
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
index 30b49908..abbbbb33 100644
--- a/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild
+++ b/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild
@@ -16,17 +16,21 @@ IUSE="doc" # emacs"
#SITEFILE="50mitscheme-gentoo.el"
-RDEPEND="app-crypt/mhash
+RDEPEND="
+ app-crypt/mhash
dev-db/postgresql
dev-libs/libmcrypt
dev-libs/openssl
sys-libs/gdbm
sys-libs/ncurses
- x11-libs/libX11"
+ x11-libs/libX11
+"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( dev-texlive/texlive-latexextra )"
src_prepare() {
+ default
+
sed "s:@for:@+for:" -i \
Makefile || die "sed failed"
sed "s:make:make -j1:" -i \
@@ -36,34 +40,35 @@ src_prepare() {
}
src_configure() {
- if use doc; then
+ if use doc ; then
cd "${S}"/doc
econf
fi
}
src_compile() {
- cd "${S}"/src
- ./etc/make-liarc.sh --prefix=/usr --exec-prefix=/usr --libdir=/usr/$(get_libdir) || die "making liar C failed"
-
- if use doc ; then
- cd "${S}"/doc
- emake -j1 || die "emake doc failed"
- fi
+ cd "${S}"/src || die
- cd ..
+ ./etc/make-liarc.sh \
+ --prefix=/usr --exec-prefix=/usr --libdir=/usr/$(get_libdir) ||
+ die "making liar C failed"
# if use emacs ; then
-# elisp-compile etc/*.el || die
+# elisp-compile "${S}"/etc/*.el || die
# fi
+
+ use doc && emake -C "${S}"/doc -j1
}
src_install() {
- cd "${S}"/src
- emake DESTDIR="${D}" install || die "make install failed"
+ emake -C "${S}"/src DESTDIR="${D}" install || die "make install failed"
+
+ # elisp
cd "${S}"/doc
+
doman scheme.1 || die "doman failed"
+
if use doc ; then
docinto html
dodoc index.html || die "dhtml failed"