Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile/
Date: Mon, 17 Jul 2017 11:45:27
Message-Id: 1500291919.6ca06ecb74711f61b6a941ee30b22f7e017f2911.pacho@gentoo
1 commit: 6ca06ecb74711f61b6a941ee30b22f7e017f2911
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 17 11:44:27 2017 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 17 11:45:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca06ecb
7
8 dev-scheme/guile: Don't install .la files, neither build static always (#592088)
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-scheme/guile/guile-2.0.14-r1.ebuild | 83 +++++++++++++++++++++++++++++++++
13 1 file changed, 83 insertions(+)
14
15 diff --git a/dev-scheme/guile/guile-2.0.14-r1.ebuild b/dev-scheme/guile/guile-2.0.14-r1.ebuild
16 new file mode 100644
17 index 00000000000..93fe29693e9
18 --- /dev/null
19 +++ b/dev-scheme/guile/guile-2.0.14-r1.ebuild
20 @@ -0,0 +1,83 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit flag-o-matic autotools ltprune
26 +
27 +DESCRIPTION="GNU Ubiquitous Intelligent Language for Extensions"
28 +HOMEPAGE="https://www.gnu.org/software/guile/"
29 +SRC_URI="mirror://gnu/guile/${P}.tar.gz"
30 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
31 +LICENSE="LGPL-3+"
32 +IUSE="debug debug-malloc +deprecated +networking +nls +regex +threads" # upstream recommended +networking +nls
33 +
34 +# emacs useflag removal not working
35 +
36 +RDEPEND="
37 + >=dev-libs/boehm-gc-7.0[threads?]
38 + dev-libs/gmp:=
39 + virtual/libffi
40 + dev-libs/libltdl:=
41 + dev-libs/libunistring:0=
42 + sys-devel/libtool
43 + sys-libs/ncurses:0=
44 + sys-libs/readline:0="
45 +DEPEND="${RDEPEND}
46 + virtual/pkgconfig
47 + sys-apps/texinfo
48 + sys-devel/gettext"
49 +
50 +SLOT="12/22" # subslot is soname version
51 +MAJOR="2.0"
52 +
53 +DOCS=( GUILE-VERSION HACKING README )
54 +
55 +PATCHES=(
56 + "${FILESDIR}/${PN}-2-snarf.patch"
57 + "${FILESDIR}/${P}-darwin.patch"
58 +)
59 +
60 +src_prepare() {
61 + default
62 + eautoreconf
63 +}
64 +
65 +src_configure() {
66 + # see bug #178499
67 + filter-flags -ftree-vectorize
68 +
69 + econf \
70 + --disable-error-on-warning \
71 + --disable-rpath \
72 + --disable-static \
73 + --enable-posix \
74 + --without-libgmp-prefix \
75 + --without-libiconv-prefix \
76 + --without-libintl-prefix \
77 + --without-libltdl-prefix \
78 + --without-libreadline-prefix \
79 + --without-libunistring-prefix \
80 + $(use_enable debug guile-debug) \
81 + $(use_enable debug-malloc) \
82 + $(use_enable deprecated) \
83 + $(use_enable networking) \
84 + $(use_enable nls) \
85 + $(use_enable regex) \
86 + $(use_with threads)
87 +}
88 +
89 +src_install() {
90 + default
91 + prune_libtool_files
92 +
93 + # From Novell
94 + # https://bugzilla.novell.com/show_bug.cgi?id=874028#c0
95 + dodir /usr/share/gdb/auto-load/$(get_libdir)
96 + mv "${ED}"/usr/$(get_libdir)/libguile-*-gdb.scm "${ED}"/usr/share/gdb/auto-load/$(get_libdir) || die
97 +
98 + # necessary for registering slib, see bug 206896
99 + keepdir /usr/share/guile/site
100 +
101 + # Dark magic necessary for some deps
102 + dosym libguile-2.0.so /usr/$(get_libdir)/libguile.so
103 +}