From 00b78114a507e5531dd9cdf0fe4bd77d22784740 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 17 Apr 2021 00:19:34 +0100 Subject: sys-apps/s6: fix phase function definition style Signed-off-by: Sam James --- sys-apps/s6/s6-2.1.3.0.ebuild | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'sys-apps/s6') diff --git a/sys-apps/s6/s6-2.1.3.0.ebuild b/sys-apps/s6/s6-2.1.3.0.ebuild index e06f05e36281..125f5749978d 100644 --- a/sys-apps/s6/s6-2.1.3.0.ebuild +++ b/sys-apps/s6/s6-2.1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -23,22 +23,20 @@ DEPEND=">=sys-devel/make-4.0 >=dev-lang/execline-2.1.1.0 >=dev-libs/skalibs-2.3.2.0 ) - " +" RDEPEND=" !static? ( >=dev-lang/execline-2.1.1.0 >=dev-libs/skalibs-2.3.2.0 ) - " +" -src_prepare() -{ +src_prepare() { # Remove QA warning about LDFLAGS addition sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die } -src_configure() -{ +src_configure() { econf \ $(use_enable !static shared) \ $(use_enable static allstatic) \ @@ -53,13 +51,11 @@ src_configure() --with-sysdeps=/usr/$(get_libdir)/skalibs } -src_compile() -{ +src_compile() { emake DESTDIR="${D}" } -src_install() -{ +src_install() { default dodoc -r examples dohtml -r doc/* -- cgit v1.2.3-65-gdbad