diff options
author | David Seifert <soap@gentoo.org> | 2021-03-27 11:44:02 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-03-27 11:44:02 +0100 |
commit | 48c4ed7c33ac42b3211424580ce4b64349723a21 (patch) | |
tree | 6076efecd82957351488ef2214fac536a8b86abe /sys-apps/fakeroot | |
parent | dev-ruby/rails: add 6.1.3.1 (diff) | |
download | gentoo-48c4ed7c33ac42b3211424580ce4b64349723a21.tar.gz gentoo-48c4ed7c33ac42b3211424580ce4b64349723a21.tar.bz2 gentoo-48c4ed7c33ac42b3211424580ce4b64349723a21.zip |
sys-apps/fakeroot: Clean up ebuild
* Remove .la files
* Disable building static archives
Closes: https://github.com/gentoo/gentoo/pull/18617
Closes: https://bugs.gentoo.org/759568
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/fakeroot')
-rw-r--r-- | sys-apps/fakeroot/fakeroot-1.25.3-r1.ebuild (renamed from sys-apps/fakeroot/fakeroot-1.25.3.ebuild) | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/sys-apps/fakeroot/fakeroot-1.25.3.ebuild b/sys-apps/fakeroot/fakeroot-1.25.3-r1.ebuild index eac32e7e9542..136dd8a2116e 100644 --- a/sys-apps/fakeroot/fakeroot-1.25.3.ebuild +++ b/sys-apps/fakeroot/fakeroot-1.25.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="acl debug static-libs test" +IUSE="acl debug test" RESTRICT="!test? ( test )" DEPEND=" @@ -21,31 +21,33 @@ DEPEND=" test? ( app-arch/sharutils )" BDEPEND="app-text/po4a" -DOCS="AUTHORS BUGS DEBUG README doc/README.saving" +DOCS=( AUTHORS BUGS DEBUG README doc/README.saving ) src_prepare() { default eautoreconf } -src_compile() { - # Create tranlated man pages - pushd doc &>/dev/null || die - po4a -v -k 0 --variable "srcdir=${S}/doc/" po4a/po4a.cfg || die - popd &>/dev/null || die +src_configure() { + export ac_cv_header_sys_acl_h=$(usex acl) + use acl || export ac_cv_search_acl_get_fd=no # bug 759568 + use debug && append-cppflags -DLIBFAKEROOT_DEBUGGING - default + econf --disable-static } -src_configure() { - export ac_cv_header_sys_acl_h=$(usex acl) +src_compile() { + # Create translated man pages + pushd doc >/dev/null || die + po4a -v -k 0 --variable "srcdir=${S}/doc/" po4a/po4a.cfg || die + popd >/dev/null || die - use debug && append-cppflags "-DLIBFAKEROOT_DEBUGGING" - econf \ - $(use_enable static-libs static) + default } src_install() { default - find "${ED}" -name '*.la' -o -name '*.a' -delete || die + + # no static archives + find "${ED}" -name '*.la' -delete || die } |