1 |
commit: dfa38baf463812e0936eddc9e9d1e795124b8a74 |
2 |
Author: Cyprien Nicolas (fulax) <c.nicolas+gentoo <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Apr 28 09:53:47 2011 +0000 |
4 |
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Apr 28 09:53:47 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=dfa38baf |
7 |
|
8 |
dev-scheme/guile: bump to version 2.0.1 (p.masked for the same reasons as 2.0.0 in the tree) |
9 |
|
10 |
--- |
11 |
dev-scheme/guile/guile-2.0.1.ebuild | 99 +++++++++++++++++++++++++++++++++++ |
12 |
profiles/package.mask | 10 ++++ |
13 |
2 files changed, 109 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/dev-scheme/guile/guile-2.0.1.ebuild b/dev-scheme/guile/guile-2.0.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..7400532 |
18 |
--- /dev/null |
19 |
+++ b/dev-scheme/guile/guile-2.0.1.ebuild |
20 |
@@ -0,0 +1,99 @@ |
21 |
+# Copyright 1999-2011 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/guile-2.0.0.ebuild,v 1.2 2011/04/12 18:20:24 mr_bones_ Exp $ |
24 |
+ |
25 |
+EAPI=3 |
26 |
+inherit eutils flag-o-matic elisp-common |
27 |
+ |
28 |
+DESCRIPTION="GNU Ubiquitous Intelligent Language for Extensions" |
29 |
+HOMEPAGE="http://www.gnu.org/software/guile/" |
30 |
+SRC_URI="mirror://gnu/guile/${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="LGPL-3" |
33 |
+KEYWORDS="~amd64 ~x86" |
34 |
+IUSE="networking +regex +deprecated emacs nls debug-malloc debug +threads" |
35 |
+ |
36 |
+DEPEND=" |
37 |
+ dev-libs/gmp |
38 |
+ >=sys-devel/libtool-1.5.6 |
39 |
+ sys-devel/gettext |
40 |
+ dev-util/pkgconfig |
41 |
+ dev-libs/libunistring |
42 |
+ >=dev-libs/boehm-gc-7.0[threads?] |
43 |
+ dev-libs/libffi |
44 |
+ emacs? ( virtual/emacs )" |
45 |
+RDEPEND="${DEPEND}" |
46 |
+ |
47 |
+SLOT="2" |
48 |
+MAJOR="2.0" |
49 |
+ |
50 |
+src_configure() { |
51 |
+ # see bug #178499 |
52 |
+ filter-flags -ftree-vectorize |
53 |
+ |
54 |
+ #will fail for me if posix is disabled or without modules -- hkBst |
55 |
+ econf \ |
56 |
+ --disable-error-on-warning \ |
57 |
+ --disable-static \ |
58 |
+ --enable-posix \ |
59 |
+ $(use_enable networking) \ |
60 |
+ $(use_enable regex) \ |
61 |
+ $(use_enable deprecated) \ |
62 |
+ $(use_enable nls) \ |
63 |
+ --disable-rpath \ |
64 |
+ $(use_enable debug-malloc) \ |
65 |
+ $(use_enable debug guile-debug) \ |
66 |
+ $(use_with threads) \ |
67 |
+ --with-modules # \ |
68 |
+# EMACS=no |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ emake || die "make failed" |
73 |
+ |
74 |
+ # Above we have disabled the build system's Emacs support; |
75 |
+ # for USE=emacs we compile (and install) the files manually |
76 |
+ # if use emacs; then |
77 |
+ # cd emacs |
78 |
+ # make |
79 |
+ # elisp-compile *.el || die |
80 |
+ # fi |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ einstall || die "install failed" |
85 |
+ |
86 |
+ dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README THANKS || die |
87 |
+ |
88 |
+ # texmacs needs this, closing bug #23493 |
89 |
+ dodir /etc/env.d |
90 |
+ echo "GUILE_LOAD_PATH=\"${EPREFIX}/usr/share/guile/${MAJOR}\"" > "${ED}"/etc/env.d/50guile |
91 |
+ |
92 |
+ # necessary for registering slib, see bug 206896 |
93 |
+ keepdir /usr/share/guile/site |
94 |
+ |
95 |
+ # if use emacs; then |
96 |
+ # elisp-install ${PN} emacs/*.{el,elc} || die |
97 |
+ # elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die |
98 |
+ # fi |
99 |
+} |
100 |
+ |
101 |
+pkg_postinst() { |
102 |
+ [ "${EROOT}" == "/" ] && pkg_config |
103 |
+ use emacs && elisp-site-regen |
104 |
+} |
105 |
+ |
106 |
+pkg_postrm() { |
107 |
+ use emacs && elisp-site-regen |
108 |
+} |
109 |
+ |
110 |
+pkg_config() { |
111 |
+ if has_version dev-scheme/slib; then |
112 |
+ einfo "Registering slib with guile" |
113 |
+ install_slib_for_guile |
114 |
+ fi |
115 |
+} |
116 |
+ |
117 |
+_pkg_prerm() { |
118 |
+ rm -f "${EROOT}"/usr/share/guile/site/slibcat |
119 |
+} |
120 |
|
121 |
diff --git a/profiles/package.mask b/profiles/package.mask |
122 |
new file mode 100644 |
123 |
index 0000000..bf32fd4 |
124 |
--- /dev/null |
125 |
+++ b/profiles/package.mask |
126 |
@@ -0,0 +1,10 @@ |
127 |
+# Cyprien Nicolas <c.nicolas+gentoo@×××××.com> (28 Apr 2011) |
128 |
+# Masked for several reasons pointed out by Marijn: |
129 |
+# Marijn Schouten <hkBst@g.o> (07 April 2011) |
130 |
+# Masked for number of issues, but can be used to |
131 |
+# test against if people are impatient ;P |
132 |
+# Known issues: |
133 |
+# - Broken emacs support (ulm has promised to look) |
134 |
+# - doesn't build when boehm-gc is built without threads |
135 |
+# - no SLOTting yet! |
136 |
+=dev-scheme/guile-2.0.1 |