Gentoo Archives: gentoo-lisp

From: Ulrich Mueller <ulm@g.o>
To: gentoo-lisp@l.g.o
Subject: Re: [gentoo-lisp] Stabilization of last versions of sbcl and asdf on amd64
Date: Wed, 11 Dec 2013 14:21:11
Message-Id: 21160.29904.484956.991867@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-lisp] Stabilization of last versions of sbcl and asdf on amd64 by Chema Alonso
1 >>>>> On Wed, 11 Dec 2013, Chema Alonso wrote:
2
3 >> These lines are not in the ebuilds proper, but in lisp code embedded into
4 >> ebuilds. I think it makes no sense to fix them.
5
6 > Changing them to tabs makes the warnings go away and respects the look
7 > of the lisp code.
8
9 For Lisp code embedded in Emacs ebuilds, I've always used the old
10 shell-archive trick:
11
12 sed -e 's/^X//' >"${D}"/etc/sbclrc <<-EOF
13 ;;; The following is required if you want source location functions to
14 ;;; work in SLIME, for example.
15 X
16 (setf (logical-pathname-translations "SYS")
17 X '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
18 X ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
19 X
20 ;;; Setup ASDF2
21 (load "/etc/common-lisp/gentoo-init.lisp")
22 EOF
23
24 This would silence repoman, and both the ebuild and the output file
25 look nice.
26
27 Ulrich