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.0c_p4.ebuild.orig (-14 / +15 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
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.0c_p4.ebuild,v 1.4 2008/08/28 17:49:25 ulm Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.0c_p4.ebuild,v 1.4 2008/08/28 17:49:25 ulm Exp $
4
4
Lines 12-20 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="emacs java"
18
19
19
DEPEND="emacs? ( virtual/emacs )
20
DEPEND="emacs? ( virtual/emacs )
20
		java? ( virtual/jdk )"
21
		java? ( virtual/jdk )"
Lines 23-30 Link Here
23
24
24
SITEFILE="50bigloo-gentoo.el"
25
SITEFILE="50bigloo-gentoo.el"
25
26
26
IUSE="emacs java"
27
src_unpack() {
27
# fullbee"
28
	unpack ${A}
29
	cd "${S}"
30
31
	sed -i -e 's/^cstrip="-s"/cstrip="no"/' \
32
		-e 's/STRIP=$strip/STRIP=true/' \
33
		configure || die
34
}
28
35
29
src_compile() {
36
src_compile() {
30
	if use emacs; then
37
	if use emacs; then
Lines 43-71 Link Here
43
		--benchmark=yes \
50
		--benchmark=yes \
44
		--sharedbde=no \
51
		--sharedbde=no \
45
		--sharedcompiler=no \
52
		--sharedcompiler=no \
46
		--coflags="" || die "configure failed"
53
		--coflags="" || die
47
54
48
#		--bee=$(if use fullbee; then echo full; else echo partial; fi) \
55
#		--bee=$(if use fullbee; then echo full; else echo partial; fi) \
49
56
50
	# parallel build is broken
57
	# parallel build is broken
51
	emake -j1 || die "emake failed"
58
	emake -j1 || die
52
}
59
}
53
60
54
src_install () {
61
src_install () {
55
#	dodir /etc/env.d
56
#	echo "LDPATH=/usr/$(get_libdir)/bigloo/${PV}/" > ${D}/etc/env.d/25bigloo
57
58
	# make the links created not point to DESTDIR, since that is only a temporary home
62
	# make the links created not point to DESTDIR, since that is only a temporary home
59
	sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc
63
	sed 's/ln -s $(DESTDIR)/ln -s /' -i Makefile.misc || die
60
	emake -j1 DESTDIR="${D}" install || die "install failed"
64
	emake -j1 DESTDIR="${D}" install || die
61
65
62
	if use emacs; then
66
	if use emacs; then
63
		elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed"
67
		elisp-install ${PN} etc/*.{el,elc} || die "elisp-install failed"
64
		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
68
		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
65
	fi
69
	fi
66
67
#	einfo "Compiling bee..."
68
#	emake compile-bee || die "compiling bee failed"
69
}
70
}
70
71
71
pkg_postinst() {
72
pkg_postinst() {

Return to bug 251925