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

Collapse All | Expand All

(-)bigloo-3.2b_p2.ebuild.orig (-6 / +14 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.1 2009/06/04 12:21:37 hkbst Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.2b_p2.ebuild,v 1.1 2009/06/04 12:21:37 hkbst Exp $
4
4
5
inherit elisp-common multilib eutils
5
inherit elisp-common multilib eutils flag-o-matic
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 29-35 Link Here
29
29
30
IUSE="bee emacs java"
30
IUSE="bee emacs java"
31
31
32
src_unpack() {
33
	unpack ${A}
34
	cd "${S}"
35
	epatch "${FILESDIR}"/biglooinstall.patch
36
}
37
32
src_compile() {
38
src_compile() {
39
	# -fomit-frame-pointer conflics -pg
40
	filter-flags -fomit-frame-pointer
41
42
33
	# Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
43
	# Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors
34
	# Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
44
	# Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
35
	./configure \
45
	./configure \
Lines 40-56 Link Here
40
		--libdir=/usr/$(get_libdir) \
50
		--libdir=/usr/$(get_libdir) \
41
		--docdir=/usr/share/doc/${PF} \
51
		--docdir=/usr/share/doc/${PF} \
42
		--benchmark=yes \
52
		--benchmark=yes \
43
		--sharedbde=no \
44
		--sharedcompiler=no \
45
		--customgc=no \
46
		--coflags="" \
53
		--coflags="" \
54
		--customgc=no \
47
		--bee=$(if use bee; then echo full; else echo partial; fi)
55
		--bee=$(if use bee; then echo full; else echo partial; fi)
48
56
49
	emake || die "emake failed"
57
	emake || die "emake failed"
50
58
51
	if use bee; then
59
	if use bee; then
52
		einfo "Compiling bee..."
60
		einfo "Compiling bee..."
53
		emake compile-bee || die "compiling bee failed"
61
		emake -j1 compile-bee || die "compiling bee failed"
54
	fi
62
	fi
55
63
56
	if use emacs; then
64
	if use emacs; then
Lines 68-74 Link Here
68
	emake DESTDIR="${D}" install || die "install failed"
76
	emake DESTDIR="${D}" install || die "install failed"
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 "install bee failed"
72
	fi
80
	fi
73
81
74
	if use emacs; then
82
	if use emacs; then

Return to bug 182901