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 / +16 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
		if [[ ! -a "${S}/build/UnicodeData.txt" ]]; then
36
			eerror "We need some files for rebuilding the source code.
37
Please locate (perhaps from your perl distribution) UnicodeData.txt,
38
CaseFolding.txt, SpecialCasing.txt, PropList.txt, CompositionExclusions.txt
39
and place them in '${S}/build/'."
40
			die "missing files"
41
		fi
42
	fi
32
}
43
}
33
44
34
src_compile() {
45
src_compile() {
35
	use amd64 && append-flags "-m32"
36
	econf || die "econf failed"
46
	econf || die "econf failed"
47
	if use amd64; then
48
		emake i-know-what-i-am-doing || die "generating c-sources from with prescheme failed"
49
		emake build/initial.image || die "building initial image failed"
50
	fi
37
	emake || die "emake failed"
51
	emake || die "emake failed"
38
	if use emacs; then
52
	if use emacs; then
39
		elisp-compile ${S}/emacs/cmuscheme48.el
53
		elisp-compile ${S}/emacs/cmuscheme48.el

Return to bug 194099