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