Gentoo Archives: gentoo-commits

From: "Marijn Schouten (hkbst)" <hkbst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-scheme/guile: ChangeLog guile-1.8.4-r1.ebuild
Date: Fri, 25 Apr 2008 23:22:06
Message-Id: E1JpXEx-00050y-9S@stork.gentoo.org
1 hkbst 08/04/25 23:22:03
2
3 Modified: ChangeLog
4 Added: guile-1.8.4-r1.ebuild
5 Log:
6 add fixes for libtool-2.2 bug 212723 and gcc-4.3, bug 214787
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.57 dev-scheme/guile/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/ChangeLog?rev=1.57&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/ChangeLog?rev=1.57&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/ChangeLog?r1=1.56&r2=1.57
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v
19 retrieving revision 1.56
20 retrieving revision 1.57
21 diff -u -r1.56 -r1.57
22 --- ChangeLog 17 Apr 2008 18:33:51 -0000 1.56
23 +++ ChangeLog 25 Apr 2008 23:22:02 -0000 1.57
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-scheme/guile
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.56 2008/04/17 18:33:51 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.57 2008/04/25 23:22:02 hkbst Exp $
29 +
30 +*guile-1.8.4-r1 (25 Apr 2008)
31 +
32 + 25 Apr 2008; Marijn Schouten <hkBst@g.o> +files/gcc-4.3.patch,
33 + +guile-1.8.4-r1.ebuild:
34 + add fixes for libtool-2.2 bug 212723 and gcc-4.3, bug 214787
35
36 17 Apr 2008; nixnut <nixnut@g.o> guile-1.8.4.ebuild:
37 Stable on ppc wrt bug 217410
38
39
40
41 1.1 dev-scheme/guile/guile-1.8.4-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/guile-1.8.4-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/guile/guile-1.8.4-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: guile-1.8.4-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/guile-1.8.4-r1.ebuild,v 1.1 2008/04/25 23:22:02 hkbst Exp $
51
52 inherit eutils autotools flag-o-matic
53
54 DESCRIPTION="Scheme interpreter"
55 HOMEPAGE="http://www.gnu.org/software/guile/"
56 SRC_URI="mirror://gnu/guile/${P}.tar.gz"
57
58 LICENSE="LGPL-2.1"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
60 RESTRICT="!regex? ( test )"
61
62 DEPEND=">=dev-libs/gmp-4.1 >=sys-devel/libtool-1.5.6 sys-devel/gettext"
63
64 # Guile seems to contain some slotting support, /usr/share/guile/ is slotted,
65 # but there are lots of collisions. Most in /usr/share/libguile. Therefore
66 # I'm slotting this in the same slot as guile-1.6* for now.
67 SLOT="12"
68 MAJOR="1.8"
69
70 IUSE="networking regex discouraged deprecated elisp nls debug-freelist debug-malloc debug threads"
71
72 src_unpack() {
73 unpack ${A}; cd "${S}"
74
75 sed "s_sleep 999_sleep 1_" -i test-suite/tests/popen.test
76
77 #bug 214787
78 epatch "${FILESDIR}"/gcc-4.3.patch
79
80 #for libtool-2.2*, bug 212723
81 eautoreconf
82 }
83
84 src_compile() {
85 # see bug #178499
86 filter-flags -ftree-vectorize
87
88 #will fail for me if posix is disabled or without modules -- hkBst
89 econf \
90 --disable-error-on-warning \
91 --disable-static \
92 --enable-posix \
93 $(use_enable networking) \
94 $(use_enable regex) \
95 $(use deprecated || use_enable discouraged) \
96 $(use_enable deprecated) \
97 $(use_enable elisp) \
98 $(use_enable nls) \
99 --disable-rpath \
100 $(use_enable debug-freelist) \
101 $(use_enable debug-malloc) \
102 $(use_enable debug guile-debug) \
103 $(use_with threads) \
104 --with-modules
105
106 emake || die "make failed"
107 }
108
109 src_install() {
110 einstall || die "install failed"
111
112 dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README SNAPSHOTS THANKS
113
114 # texmacs needs this, closing bug #23493
115 dodir /etc/env.d
116 echo "GUILE_LOAD_PATH=\"/usr/share/guile/${MAJOR}\"" > "${D}"/etc/env.d/50guile
117
118 # necessary for registering slib, see bug 206896
119 keepdir /usr/share/guile/site
120 }
121
122 pkg_postinst() {
123 [ "${ROOT}" == "/" ] && pkg_config
124 }
125
126 pkg_config() {
127 if has_version dev-scheme/slib; then
128 einfo "Registering slib with guile"
129 install_slib_for_guile
130 fi
131 }
132
133 _pkg_prerm() {
134 rm -f "${ROOT}"/usr/share/guile/site/slibcat
135 }
136
137
138
139 --
140 gentoo-commits@l.g.o mailing list