diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2022-01-22 10:34:00 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-28 07:58:58 +0000 |
commit | 99159ba351bea3207a41630e4e5fc399f3055bb7 (patch) | |
tree | 258abd62e369e3637515a06d16dd1536c9c25078 /dev-libs | |
parent | dev-libs/skalibs: respect AR, CC and RANLIB (diff) | |
download | gentoo-99159ba351bea3207a41630e4e5fc399f3055bb7.tar.gz gentoo-99159ba351bea3207a41630e4e5fc399f3055bb7.tar.bz2 gentoo-99159ba351bea3207a41630e4e5fc399f3055bb7.zip |
dev-libs/skalibs: add 2.11.1.0
-fno-stack-protector flag was removed from configure script in upstream
in version 2.10.0.0.
Upstream-commit: e5c83dd7b233 (" Remove -fno-stack-protector from default CFLAGS")
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/skalibs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/skalibs/skalibs-2.11.1.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest index 828c554b1159..1999d49b5996 100644 --- a/dev-libs/skalibs/Manifest +++ b/dev-libs/skalibs/Manifest @@ -1 +1,2 @@ +DIST skalibs-2.11.1.0.tar.gz 218300 BLAKE2B 9ab30a43065745a8d2d846167dc9887b0353ec55ec7d4b26f663870fef8dee5eebbf73056346829c1187946f1a64de05eea5067e7b6ea4d5be522f586915ba27 SHA512 7db390b887234437d52f3b9388f7398e92877cde4c93de76532abff64ee1a127524181c53a0fdddd86bd84247d84f704527bd89c5581e27433081862e9970af7 DIST skalibs-2.9.3.0.tar.gz 231372 BLAKE2B f0d0b530eab4d0c98346a94af078604d741a6da4ac9625b6b903011b791c16789a8488b562623376bfc1119fca5a2ab1c2dc35b563cb1d8ff36edad2d7793922 SHA512 41e867fcaf16da437840b796a41b2d34ea53aafedde8b4fc86d712934ec533e9f7f2a8b7902542570ea6b5bcba772569fc4f47bccef770b5dee4f9d113b3df11 diff --git a/dev-libs/skalibs/skalibs-2.11.1.0.ebuild b/dev-libs/skalibs/skalibs-2.11.1.0.ebuild new file mode 100644 index 000000000000..37232ee4d776 --- /dev/null +++ b/dev-libs/skalibs/skalibs-2.11.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="General-purpose libraries from skarnet.org" +HOMEPAGE="https://www.skarnet.org/software/skalibs/" +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc ipv6 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=( + --datadir=/etc + --dynlibdir=/usr/$(get_libdir) + --libdir=/usr/$(get_libdir)/${PN} + --sysdepdir=/usr/$(get_libdir)/${PN} + --enable-clock + --enable-shared + $(use_enable static-libs static) + $(use_enable ipv6) + ) + + econf "${myconf[@]}" +} |