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: dev-lisp/linedit/
Date: Wed, 08 Feb 2017 22:15:47
Message-Id: 1486592139.7183c93cdf89fb8751f654a528ab8a408a6e7ca7.nimiux@gentoo
1 commit: 7183c93cdf89fb8751f654a528ab8a408a6e7ca7
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 8 22:15:39 2017 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 8 22:15:39 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=7183c93c
7
8 dev-lisp/linedit: Updates live ebuild EAPI. Fixes spaces and tabs
9
10 dev-lisp/linedit/linedit-9999.ebuild | 14 +++++++-------
11 1 file changed, 7 insertions(+), 7 deletions(-)
12
13 diff --git a/dev-lisp/linedit/linedit-9999.ebuild b/dev-lisp/linedit/linedit-9999.ebuild
14 index 29d1576f..af1d7fec 100644
15 --- a/dev-lisp/linedit/linedit-9999.ebuild
16 +++ b/dev-lisp/linedit/linedit-9999.ebuild
17 @@ -1,10 +1,10 @@
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 -EAPI=5
24 +EAPI=6
25
26 -inherit common-lisp-3 eutils flag-o-matic git-2 multilib toolchain-funcs
27 +inherit common-lisp-3 flag-o-matic git-r3 multilib toolchain-funcs
28
29 DESCRIPTION="Linedit is a readline-style library written in Common Lisp."
30 HOMEPAGE="http://www.common-lisp.net/project/linedit/"
31 @@ -33,7 +33,7 @@ create_uffi_loader() {
32 cat > uffi-loader.lisp <<-EOF
33 ;;;; -*- mode: lisp; syntax: common-lisp; indent-tabs-mode: nil; base: 10; package: linedit -*-
34 (in-package :linedit)
35 -
36 +
37 (uffi:load-foreign-library #p"/usr/$(get_libdir)/linedit/terminal_glue.so")
38 EOF
39 }
40 @@ -44,7 +44,7 @@ cleanup_terminfo_files() {
41 }
42
43 src_prepare() {
44 - epatch "${FILESDIR}"/${PV}-${PN}.asd-uffi-glue-gentoo.patch
45 + eapply "${FILESDIR}"/${PV}-${PN}.asd-uffi-glue-gentoo.patch
46 create_uffi_loader
47 }
48
49 @@ -52,8 +52,8 @@ src_compile() {
50 strip-flags
51 for filename in "${CFILES}" ; do
52 @cc "${filename}.c" ${CFLAGS} ${LDFLAGS} \
53 - -fPIC -DPIC -shared -Wl,-soname="${filename}" -o "${filename}.so" \
54 - || die "Cannot compile ${filename}.c"
55 + -fPIC -DPIC -shared -Wl,-soname="${filename}" -o "${filename}.so" \
56 + || die "Cannot compile ${filename}.c"
57 done
58 }