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

Collapse All | Expand All

(-)/usr/portage/dev-scheme/scheme48/scheme48-1.6.ebuild (-2 / +12 lines)
Lines 13-19 Link Here
13
KEYWORDS="~x86 ~amd64"
13
KEYWORDS="~x86 ~amd64"
14
IUSE="doc emacs"
14
IUSE="doc emacs"
15
15
16
DEPEND="emacs? ( virtual/emacs )"
16
DEPEND="emacs? ( virtual/emacs )
17
amd64? ( dev-scheme/scheme48 )"
17
RDEPEND="${DEPEND}"
18
RDEPEND="${DEPEND}"
18
SITEFILE=50scheme48-gentoo.el
19
SITEFILE=50scheme48-gentoo.el
19
20
Lines 29-39 Link Here
29
	sed -i 's:`(cd $(srcdir) && echo $$PWD)`/scheme:'"/usr/$(get_libdir)/scheme48/:" Makefile.in
30
	sed -i 's:`(cd $(srcdir) && echo $$PWD)`/scheme:'"/usr/$(get_libdir)/scheme48/:" Makefile.in
30
	sed -i "s:'\$(LIB)':'/usr/$(get_libdir)/\$(RUNNABLE)':" Makefile.in
31
	sed -i "s:'\$(LIB)':'/usr/$(get_libdir)/\$(RUNNABLE)':" Makefile.in
31
	epatch "${FILESDIR}/scheme48-1.5-as-needed.patch"
32
	epatch "${FILESDIR}/scheme48-1.5-as-needed.patch"
33
	if use amd64; then
34
		epatch "${FILESDIR}/s48-64.patch"
35
		cd "build"
36
		tar jxf "${FILESDIR}/unicode_data.tar.bz2"
37
		cd ".."
38
	fi
32
}
39
}
33
40
34
src_compile() {
41
src_compile() {
35
	use amd64 && append-flags "-m32"
36
	econf || die "econf failed"
42
	econf || die "econf failed"
43
	if use amd64; then
44
		emake i-know-what-i-am-doing || die "generating c-sources from with prescheme failed"
45
		emake build/initial.image || die "building initial image failed"
46
	fi
37
	emake || die "emake failed"
47
	emake || die "emake failed"
38
	if use emacs; then
48
	if use emacs; then
39
		elisp-compile ${S}/emacs/cmuscheme48.el
49
		elisp-compile ${S}/emacs/cmuscheme48.el

Return to bug 194099