Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: eclass/
Date: Tue, 22 Aug 2017 21:32:12
Message-Id: 1503437560.59492b860e673f1a301981554382934b36589545.nimiux@gentoo
1 commit: 59492b860e673f1a301981554382934b36589545
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 22 21:32:40 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 22 21:32:40 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=59492b86
7
8 common-lisp-3.eclass: Updates header and CL_BINARY variable
9
10 eclass/common-lisp-3.eclass | 14 ++++++++------
11 1 file changed, 8 insertions(+), 6 deletions(-)
12
13 diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3.eclass
14 index d079e552..290b7532 100644
15 --- a/eclass/common-lisp-3.eclass
16 +++ b/eclass/common-lisp-3.eclass
17 @@ -1,6 +1,5 @@
18 -# Copyright 1999-2016 Gentoo Foundation
19 +# Copyright 1999-2017 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21 -# $Id$
22
23 # @ECLASS: common-lisp-3.eclass
24 # @MAINTAINER:
25 @@ -42,7 +41,9 @@ EXPORT_FUNCTIONS src_compile src_install
26 # @DESCRIPTION:
27 # Since there's nothing to build in most cases, default doesn't do
28 # anything.
29 -common-lisp-3_src_compile() { true; }
30 +common-lisp-3_src_compile() {
31 + true;
32 +}
33
34 # @FUNCTION: absolute-path-p
35 # @DESCRIPTION:
36 @@ -178,13 +179,14 @@ common-lisp-export-impl-args() {
37 die "${FUNCNAME[0]}: wrong number of arguments: $#"
38 fi
39 CL_BINARY="${1}"
40 - case ${1} in
41 + case "${CL_BINARY}" in
42 clisp)
43 CL_NORC="-norc"
44 CL_LOAD="-i"
45 CL_EVAL="-x"
46 ;;
47 - clozurecl | ccl | openmcl)
48 + clozure | clozurecl | ccl | openmcl)
49 + CL_BINARY="ccl"
50 CL_NORC="--no-init"
51 CL_LOAD="--load"
52 CL_EVAL="--eval"
53 @@ -206,7 +208,7 @@ common-lisp-export-impl-args() {
54 CL_EVAL="--eval"
55 ;;
56 *)
57 - die ${1} is not supported by ${0}
58 + die "${CL_BINARY} is not supported by ${0}"
59 ;;
60 esac
61 export CL_BINARY CL_NORC CL_LOAD CL_EVAL