summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-17 00:19:34 +0100
committerSam James <sam@gentoo.org>2021-04-18 07:04:18 +0100
commit00b78114a507e5531dd9cdf0fe4bd77d22784740 (patch)
tree6e6eeadbd3cfe325c52ad4ef62d004d3ed0adfe1 /sys-apps/s6
parentsys-apps/pick: autotools--, BDEPEND (diff)
downloadgentoo-00b78114a507e5531dd9cdf0fe4bd77d22784740.tar.gz
gentoo-00b78114a507e5531dd9cdf0fe4bd77d22784740.tar.bz2
gentoo-00b78114a507e5531dd9cdf0fe4bd77d22784740.zip
sys-apps/s6: fix phase function definition style
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/s6')
-rw-r--r--sys-apps/s6/s6-2.1.3.0.ebuild18
1 files changed, 7 insertions, 11 deletions
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/*