Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293459 Details for
Bug 265881
dev-scheme/chicken-4.0.0 parallel make fails
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild with USE=parallel-build support
chicken-4.7.3.ebuild (text/plain), 1.86 KB, created by
erik falor
on 2011-11-22 23:59:41 UTC
(
hide
)
Description:
Ebuild with USE=parallel-build support
Filename:
MIME Type:
Creator:
erik falor
Created:
2011-11-22 23:59:41 UTC
Size:
1.86 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > > >EAPI="3" > >inherit eutils multilib > >DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler" >HOMEPAGE="http://www.call-cc.org/" >SRC_URI="http://code.call-cc.org/dev-snapshots/2011/08/17/${P}.tar.gz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" >IUSE="emacs parallel-build" > >DEPEND="sys-apps/texinfo > emacs? ( virtual/emacs )" >RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )" > >src_prepare() { > if use "parallel-build" > then > epatch "${FILESDIR}"/${P}-parallel-build.patch > fi > > #Because chicken's Upstream is in the habit of using variables that > #portage also uses :( eg. $ARCH in this case > for f in defaults.make Makefile.bsd Makefile.cross-linux-mingw Makefile.cygwin \ > Makefile.linux Makefile.macosx Makefile.mingw-msys Makefile.solaris \ > rules.make > do > sed "s,ARCH,zARCH," -i ${f} || die "sed failed" > done > > sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed" > sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed" >} > >src_compile() { > OPTIONS="PLATFORM=linux PREFIX=/usr" > if use "parallel-build" > then > elog "You're doing a parallel build; good luck with that!" #DELETE ME > emake ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ > HOSTSYSTEM="${CBUILD}" || die "emake failed" > else > emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \ > HOSTSYSTEM="${CBUILD}" || die "emake failed" > fi >} > ># chicken's testsuite is not runnable before install ># upstream has been notified of the issue >RESTRICT=test > >src_install() { > # still can't run make in parallel for the install target > emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" install || die > > rm "${D}"/usr/share/doc/${P}/LICENSE || die > dodoc NEWS || die >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 265881
:
188112
|
293457
| 293459