diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2021-09-26 18:44:16 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-28 07:59:09 +0000 |
commit | 890e958cd5c829dde19ae71a10fc30fd1fe26a04 (patch) | |
tree | 0f1698e70c1353ab5a71142b8e2bba4b1bcd19cf /sys-apps/s6-portable-utils | |
parent | sys-apps/s6-portable-utils: respect AR, CC and RANLIB (diff) | |
download | gentoo-890e958cd5c829dde19ae71a10fc30fd1fe26a04.tar.gz gentoo-890e958cd5c829dde19ae71a10fc30fd1fe26a04.tar.bz2 gentoo-890e958cd5c829dde19ae71a10fc30fd1fe26a04.zip |
sys-apps/s6-portable-utils: add 2.2.3.4
-fno-stack-protector flag was removed from configure script in upstream
in version 2.2.3.1.
Upstream-commit: 57f70ba69ee2 ("Don't put -fno-stack-protector in default CFLAGS")
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/s6-portable-utils')
-rw-r--r-- | sys-apps/s6-portable-utils/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/s6-portable-utils/s6-portable-utils-2.2.3.4.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-apps/s6-portable-utils/Manifest b/sys-apps/s6-portable-utils/Manifest index 76c3a5a44495..151ad8fc7367 100644 --- a/sys-apps/s6-portable-utils/Manifest +++ b/sys-apps/s6-portable-utils/Manifest @@ -1 +1,2 @@ DIST s6-portable-utils-2.2.3.0.tar.gz 49239 BLAKE2B 3be6d6f7b92eea4fb67e3e52ced4409d2bc04c7bb23fea146d778b3739b4682f10dcd2f58cc37a7760368a645d0fa50c887445e6006a563d290c739e72634e9f SHA512 17cb58a49494bba323f031aa07db134505a0884827745ea48e4e93d1ea70b9d4dd141d065b126abb40d5c7625cbb03ba71090e66fd0adb0c54ab49478e929837 +DIST s6-portable-utils-2.2.3.4.tar.gz 50120 BLAKE2B 17eecbf432b91720ed672e0388665e3dd7302fa2638225d0cdb9ad3c580fa29734ebf5f6e838e1bc4fdcec841ac4414d5b13d78ccb9167f5fad18dc763d8f611 SHA512 1bb9f7bd1c00d12d8434dbabb7061fe589ee9de9f0745399aacf560712bb0c9b4df2dbc221b0c8144c351e9976982c7a7e69dd127517281799d810596d8db5a2 diff --git a/sys-apps/s6-portable-utils/s6-portable-utils-2.2.3.4.ebuild b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.3.4.ebuild new file mode 100644 index 000000000000..603e92d975b7 --- /dev/null +++ b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.3.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Set of tiny portable unix utilities" +HOMEPAGE="https://www.skarnet.org/software/s6-portable-utils/" +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="static" + +RDEPEND="!static? ( >=dev-libs/skalibs-2.11.1.0:= )" +DEPEND="${RDEPEND} + static? ( >=dev-libs/skalibs-2.11.1.0[static-libs] ) +" + +HTML_DOCS=( doc/. ) + +src_prepare() { + default + + # Avoid QA warning for LDFLAGS addition + sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die + + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die +} + +src_configure() { + tc-export AR CC RANLIB + + local myconf=( + --bindir=/bin + --dynlibdir=/usr/$(get_libdir) + --libdir=/usr/$(get_libdir)/${PN} + --with-dynlib=/usr/$(get_libdir) + --with-lib=/usr/$(get_libdir)/skalibs + --with-sysdeps=/usr/$(get_libdir)/skalibs + $(use_enable static allstatic) + $(use_enable static static-libc) + ) + + econf "${myconf[@]}" +} |