From: "Erik Falor" <ewfalor@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
Date: Wed, 16 Jan 2013 17:28:11 +0000 (UTC) [thread overview]
Message-ID: <1358357205.6ed38b9fbef6e46dd5d447e9fee5c23372850448.erik_falor@gentoo> (raw)
commit: 6ed38b9fbef6e46dd5d447e9fee5c23372850448
Author: Erik Falor (fadein) <ewfalor <AT> gmail <DOT> com>
AuthorDate: Wed Jan 16 17:26:45 2013 +0000
Commit: Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Wed Jan 16 17:26:45 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=6ed38b9f
dev-scheme/chicken: `sed` ebuild vars in Makefiles
---
dev-scheme/chicken/chicken-4.8.0.ebuild | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/dev-scheme/chicken/chicken-4.8.0.ebuild b/dev-scheme/chicken/chicken-4.8.0.ebuild
index b094dc2..5deb59d 100644
--- a/dev-scheme/chicken/chicken-4.8.0.ebuild
+++ b/dev-scheme/chicken/chicken-4.8.0.ebuild
@@ -28,14 +28,21 @@ src_prepare() {
#Because chicken's Upstream is in the habit of using variables that
#portage also uses :( eg. $ARCH and $A
- unset A ARCH
+ sed 's,A\(\s?=\|)\),chicken&,p' -i Makefile.cross-linux-mingw \
+ defaults.make rules.make \
+ || die "sed failed"
+
+ sed "s,ARCH,zARCH," -i Makefile.bsd Makefile.cross-linux-mingw \
+ Makefile.cygwin Makefile.haiku Makefile.linux Makefile.macosx \
+ Makefile.mingw Makefile.mingw-msys Makefile.solaris \
+ defaults.make rules.make \
+ || die "sed failed"
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() {
- unset A ARCH
OPTIONS="PLATFORM=linux PREFIX=/usr"
if use "parallel-build"
then
@@ -54,7 +61,6 @@ src_compile() {
RESTRICT=test
src_install() {
- unset A ARCH
# still can't run make in parallel for the install target
emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
LINKER_OPTIONS="${LDFLAGS}" \
next reply other threads:[~2013-01-16 17:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 17:28 Erik Falor [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-09-17 3:56 [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/ Erik Falor
2013-02-03 0:02 Erik Falor
2013-01-17 23:16 Erik Falor
2013-01-10 20:49 Erik Falor
2012-02-27 17:18 Erik Falor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358357205.6ed38b9fbef6e46dd5d447e9fee5c23372850448.erik_falor@gentoo \
--to=ewfalor@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox