summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-06-15 18:55:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-06-15 18:55:12 +0000
commit8e7ee99a8aaefd13ec37fe2c301d413c39546427 (patch)
treea331c44e752a38653199cae3dafe6f0993aa1430 /sys-process/runit/runit-2.1.1.ebuild
parentVersion bump. (diff)
downloadgentoo-2-8e7ee99a8aaefd13ec37fe2c301d413c39546427.tar.gz
gentoo-2-8e7ee99a8aaefd13ec37fe2c301d413c39546427.tar.bz2
gentoo-2-8e7ee99a8aaefd13ec37fe2c301d413c39546427.zip
QA: actually make runit build, since it was broken with a blind version bump.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sys-process/runit/runit-2.1.1.ebuild')
-rw-r--r--sys-process/runit/runit-2.1.1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys-process/runit/runit-2.1.1.ebuild b/sys-process/runit/runit-2.1.1.ebuild
index 0ca0be3d979b..e3c69152368b 100644
--- a/sys-process/runit/runit-2.1.1.ebuild
+++ b/sys-process/runit/runit-2.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-2.1.1.ebuild,v 1.1 2011/06/15 05:43:26 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/runit/runit-2.1.1.ebuild,v 1.2 2011/06/15 18:55:12 flameeyes Exp $
EAPI="3"
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="static"
-S=${WORKDIR}/admin/${P}
+S=${WORKDIR}/admin/${P}/src
src_prepare() {
# we either build everything or nothing static
@@ -23,7 +23,6 @@ src_prepare() {
}
src_configure() {
- cd src
use static && append-ldflags -static
echo "$(tc-getCC) ${CFLAGS}" > conf-cc
@@ -36,12 +35,11 @@ src_install() {
dosym default /etc/runit/runsvdir/current
dosym ../etc/runit/runsvdir/current /var/service
- cd src
dobin $(<../package/commands) || die "dobin"
dodir /sbin
mv "${D}"/usr/bin/{runit-init,runit,utmpset} "${D}"/sbin/ || die "dosbin"
- cd "${S}"
+ cd "${S}"/..
dodoc package/{CHANGES,README,THANKS,TODO}
dohtml doc/*.html
doman man/*.[18]