Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/dietlibc/
Date: Mon, 28 May 2018 17:55:36
Message-Id: 1527530123.293913aa9400b5af47402c67f63e100614079e28.pacho@gentoo
1 commit: 293913aa9400b5af47402c67f63e100614079e28
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 28 17:39:52 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon May 28 17:55:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=293913aa
7
8 dev-libs/dietlibc: Drop old
9
10 Package-Manager: Portage-2.3.38, Repoman-2.3.9
11
12 dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild | 64 ----------------------
13 1 file changed, 64 deletions(-)
14
15 diff --git a/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild b/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild
16 deleted file mode 100644
17 index c35bb403afe..00000000000
18 --- a/dev-libs/dietlibc/dietlibc-0.34_pre20140729.ebuild
19 +++ /dev/null
20 @@ -1,64 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -inherit eutils flag-o-matic toolchain-funcs
26 -
27 -DESCRIPTION="A libc optimized for small size"
28 -HOMEPAGE="http://www.fefe.de/dietlibc/"
29 -SRC_URI="https://dev.gentoo.org/~patrick/${P}.tar.bz2"
30 -
31 -LICENSE="GPL-2"
32 -SLOT="0"
33 -KEYWORDS="alpha amd64 ~arm ~ia64 ~mips sparc x86 ~amd64-linux ~x86-linux"
34 -IUSE=""
35 -
36 -DEPEND=""
37 -RDEPEND=""
38 -
39 -DIETHOME=/usr/diet
40 -
41 -S=${WORKDIR}/dietlibc
42 -
43 -src_prepare() {
44 - # Replace sparc64 related C[XX]FLAGS (see bug #45716)
45 - use sparc && replace-sparc64-flags
46 -
47 - # gcc-hppa suffers support for SSP, compilation will fail
48 - use hppa && strip-unsupported-flags
49 -
50 - # Makefile does not append CFLAGS
51 - append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \
52 - -Wmissing-prototypes -Wmissing-declarations -Wno-switch \
53 - -Wno-unused -Wredundant-decls -fno-strict-aliasing
54 -
55 - # Disable ssp for we default to it on >=gcc-4.8.3
56 - append-flags $(test-flags -fno-stack-protector)
57 -
58 - # only use -nopie on archs that support it
59 - tc-enables-pie && append-flags -nopie
60 -
61 - sed -i -e 's:strip::' Makefile || die
62 - append-flags -Wa,--noexecstack
63 -}
64 -
65 -src_compile() {
66 - emake -j1 prefix="${EPREFIX}"${DIETHOME} \
67 - CC="$(tc-getCC)" \
68 - CFLAGS="${CFLAGS}" \
69 - STRIP=":"
70 -}
71 -
72 -src_install() {
73 - emake -j1 prefix="${EPREFIX}"${DIETHOME} \
74 - DESTDIR="${D}" \
75 - install-bin \
76 - install-headers \
77 - install-profiling
78 -
79 - dobin "${ED}"${DIETHOME}/bin/*
80 - doman "${ED}"${DIETHOME}/man/*/*
81 - rm -r "${ED}"${DIETHOME}/{man,bin} || die
82 -
83 - dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
84 -}