Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 251925 | Differences between
and this patch

Collapse All | Expand All

(-)bigloo-3.2b_p2.ebuild.orig (-7 / +15 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.2b_p2.ebuild,v 1.2 2010/01/31 19:46:55 tove Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.2b_p2.ebuild,v 1.2 2010/01/31 19:46:55 tove Exp $
4
4
5
inherit elisp-common multilib eutils
5
inherit elisp-common eutils multilib
6
6
7
MY_P=${PN}${PV/_p/-}
7
MY_P=${PN}${PV/_p/-}
8
MY_P=${MY_P/_alpha/-alpha}
8
MY_P=${MY_P/_alpha/-alpha}
Lines 12-33 Link Here
12
HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html"
12
HOMEPAGE="http://www-sop.inria.fr/mimosa/fp/Bigloo/bigloo.html"
13
SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${MY_P}.tar.gz"
13
SRC_URI="ftp://ftp-sop.inria.fr/mimosa/fp/Bigloo/${MY_P}.tar.gz"
14
14
15
SLOT="0"
16
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
SLOT="0"
17
KEYWORDS="~amd64 ~ppc ~x86"
17
KEYWORDS="~amd64 ~ppc ~x86"
18
IUSE="bee emacs java"
18
19
19
# bug 254916 for >=dev-libs/boehm-gc-7.1
20
# bug 254916 for >=dev-libs/boehm-gc-7.1
20
DEPEND=">=dev-libs/boehm-gc-7.1
21
DEPEND=">=dev-libs/boehm-gc-7.1
21
		emacs? ( virtual/emacs )
22
		emacs? ( virtual/emacs )
22
		java? ( virtual/jdk app-arch/zip )"
23
		java? ( virtual/jdk app-arch/zip )"
23
24
RDEPEND="dev-libs/boehm-gc"
24
RDEPEND="dev-libs/boehm-gc"
25
25
26
S=${WORKDIR}/${MY_P%-*}
26
S=${WORKDIR}/${PN}${PV/_*/}
27
27
28
SITEFILE="50bigloo-gentoo.el"
28
SITEFILE="50bigloo-gentoo.el"
29
29
30
IUSE="bee emacs java"
30
src_unpack() {
31
	unpack ${A}
32
	cd "${S}"
33
34
	sed -i -e 's/^cstrip="-s"/cstrip="no"/' \
35
		-e 's/STRIP=$strip/STRIP=true/' \
36
		configure || die
37
}
31
38
32
src_compile() {
39
src_compile() {
33
	# Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
40
	# Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
Lines 46-52 Link Here
46
		--coflags="" \
53
		--coflags="" \
47
		--bee=$(if use bee; then echo full; else echo partial; fi)
54
		--bee=$(if use bee; then echo full; else echo partial; fi)
48
55
49
	emake || die "emake failed"
56
	#CL sed -i -e 's/^STRIP=.*/STRIP=true/' Makefile.config || die
57
	emake || die
50
58
51
	if use bee; then
59
	if use bee; then
52
		einfo "Compiling bee..."
60
		einfo "Compiling bee..."
Lines 65-71 Link Here
65
}
73
}
66
74
67
src_install() {
75
src_install() {
68
	emake DESTDIR="${D}" install || die "install failed"
76
	emake DESTDIR="${D}" install || die
69
77
70
	if use bee; then
78
	if use bee; then
71
		emake DESTDIR="${D}" install-bee || die
79
		emake DESTDIR="${D}" install-bee || die

Return to bug 251925