summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-14 15:00:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-14 15:00:28 +0000
commit5e6c35e618121f979e7eb5be54b4c00df0ea5470 (patch)
treea32534d278ad36c98bdc181d1b0eb3aafb4385d4 /sys-process/runit
parentFix CFLAGS handling so they get injected during src_compile rather than set i... (diff)
downloadgentoo-2-5e6c35e618121f979e7eb5be54b4c00df0ea5470.tar.gz
gentoo-2-5e6c35e618121f979e7eb5be54b4c00df0ea5470.tar.bz2
gentoo-2-5e6c35e618121f979e7eb5be54b4c00df0ea5470.zip
Set compiler and linker during src_compile rather than unpack.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'sys-process/runit')
-rw-r--r--sys-process/runit/ChangeLog5
-rw-r--r--sys-process/runit/runit-1.7.0.ebuild11
2 files changed, 10 insertions, 6 deletions
diff --git a/sys-process/runit/ChangeLog b/sys-process/runit/ChangeLog
index 24d544595864..47e54a9fef98 100644
--- a/sys-process/runit/ChangeLog
+++ b/sys-process/runit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/runit
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.28 2008/05/12 15:56:02 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/ChangeLog,v 1.29 2008/10/14 15:00:28 flameeyes Exp $
+
+ 14 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> runit-1.7.0.ebuild:
+ Set compiler and linker during src_compile rather than unpack.
12 May 2008; Markus Meier <maekke@gentoo.org> runit-1.7.0.ebuild:
amd64 stable, bug #216630
diff --git a/sys-process/runit/runit-1.7.0.ebuild b/sys-process/runit/runit-1.7.0.ebuild
index 48d85fe3ca4a..d2c40292bb1e 100644
--- a/sys-process/runit/runit-1.7.0.ebuild
+++ b/sys-process/runit/runit-1.7.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-1.7.0.ebuild,v 1.7 2008/05/12 15:56:02 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-1.7.0.ebuild,v 1.8 2008/10/14 15:00:28 flameeyes Exp $
inherit toolchain-funcs flag-o-matic
@@ -23,14 +23,15 @@ src_unpack() {
# we either build everything or nothing static
sed -i -e 's:-static: :' src/Makefile
- use static && append-ldflags -static
-
- echo "$(tc-getCC) ${CFLAGS}" > src/conf-cc
- echo "$(tc-getCC) ${LDFLAGS}" > src/conf-ld
}
src_compile() {
cd src
+ use static && append-ldflags -static
+
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
+
emake || die "make failed"
}