diff options
Diffstat (limited to 'sys-devel/prelink/prelink-99999999.ebuild')
-rw-r--r-- | sys-devel/prelink/prelink-99999999.ebuild | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/sys-devel/prelink/prelink-99999999.ebuild b/sys-devel/prelink/prelink-99999999.ebuild deleted file mode 100644 index dfe534db6194..000000000000 --- a/sys-devel/prelink/prelink-99999999.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2002-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -MY_PN="${PN}-cross" -MY_P="${MY_PN}-${PV}" - -inherit autotools flag-o-matic git-r3 systemd - -DESCRIPTION="Modifies ELFs to avoid runtime symbol resolutions resulting in faster load times" -HOMEPAGE="https://git.yoctoproject.org/cgit/cgit.cgi/prelink-cross/ https://people.redhat.com/jakub/prelink" -EGIT_REPO_URI="https://git.yoctoproject.org/git/prelink-cross" - -LICENSE="GPL-2" -SLOT="0" -IUSE="doc selinux" - -RDEPEND=">=dev-libs/elfutils-0.100 - selinux? ( sys-libs/libselinux ) - !dev-libs/libelf" -DEPEND="${RDEPEND} - sys-libs/binutils-libs" - -PATCHES=( - "${FILESDIR}"/${PN}-20130503-prelink-conf.patch - "${FILESDIR}"/${PN}-20130503-libiberty-md5.patch -) - -src_prepare() { - default - - sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh #100147 - - has_version 'dev-libs/elfutils[threads]' && append-ldflags -pthread - - eautoreconf -} - -src_configure() { - econf $(use_enable selinux) -} - -src_test() { - # prelink tests check exact library lists. - # LD_PRELOADed libraries break the assumption. - SANDBOX_ON=0 LD_PRELOAD= emake check VERBOSE=1 -} - -src_install() { - default - - use doc && dodoc doc/prelink.pdf - - insinto /etc - doins doc/prelink.conf - - exeinto /etc/cron.daily - newexe "${FILESDIR}"/prelink.cron prelink - newconfd "${FILESDIR}"/prelink.confd prelink - systemd_dounit "${FILESDIR}"/prelink.{service,timer} -} - -pkg_postinst() { - if [ -z "${REPLACING_VERSIONS}" ] ; then - elog "You may wish to read the Gentoo Linux Prelink Guide, which can be" - elog "found online at:" - elog " https://wiki.gentoo.org/wiki/Prelink" - elog "Please edit /etc/conf.d/prelink to enable and configure prelink" - fi -} |