From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 292AC1384E8 for ; Wed, 16 Jan 2013 17:28:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D132921C00D; Wed, 16 Jan 2013 17:28:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6152521C00D for ; Wed, 16 Jan 2013 17:28:14 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCE5933D7EC for ; Wed, 16 Jan 2013 17:28:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 68ED9E4073 for ; Wed, 16 Jan 2013 17:28:11 +0000 (UTC) From: "Erik Falor" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Erik Falor" Message-ID: <1358357205.6ed38b9fbef6e46dd5d447e9fee5c23372850448.erik_falor@gentoo> Subject: [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/ X-VCS-Repository: proj/lisp X-VCS-Files: dev-scheme/chicken/chicken-4.8.0.ebuild X-VCS-Directories: dev-scheme/chicken/ X-VCS-Committer: erik_falor X-VCS-Committer-Name: Erik Falor X-VCS-Revision: 6ed38b9fbef6e46dd5d447e9fee5c23372850448 X-VCS-Branch: master Date: Wed, 16 Jan 2013 17:28:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 30192cea-3337-4321-a089-1ef82212c2cc X-Archives-Hash: 31cbe83e803400aea4f7b3f27d12375f commit: 6ed38b9fbef6e46dd5d447e9fee5c23372850448 Author: Erik Falor (fadein) gmail com> AuthorDate: Wed Jan 16 17:26:45 2013 +0000 Commit: Erik Falor gmail 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}" \