From 8e7ee99a8aaefd13ec37fe2c301d413c39546427 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Wed, 15 Jun 2011 18:55:12 +0000 Subject: QA: actually make runit build, since it was broken with a blind version bump. (Portage version: 2.2.0_alpha41/cvs/Linux x86_64) --- sys-process/runit/runit-2.1.1.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys-process/runit/runit-2.1.1.ebuild') 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] -- cgit v1.2.3-65-gdbad