diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
commit | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch) | |
tree | 9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /sys-apps/man-db/man-db-9999.ebuild | |
parent | 2891d29af8907ce881662f4a02844926d7a293c7 (diff) |
gentoo resync : 12.01.2019
Diffstat (limited to 'sys-apps/man-db/man-db-9999.ebuild')
-rw-r--r-- | sys-apps/man-db/man-db-9999.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild index 670cbc0de539..fc34d010327e 100644 --- a/sys-apps/man-db/man-db-9999.ebuild +++ b/sys-apps/man-db/man-db-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit ltprune user versionator +inherit user eapi7-ver systemd DESCRIPTION="a man replacement that utilizes berkdb instead of flat files" HOMEPAGE="http://www.nongnu.org/man-db/" @@ -17,7 +17,7 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="berkdb +gdbm +manpager nls seccomp selinux static-libs zlib" +IUSE="berkdb +gdbm +manpager nls +seccomp selinux static-libs zlib" CDEPEND=" !sys-apps/man @@ -57,9 +57,9 @@ pkg_setup() { src_configure() { export ac_cv_lib_z_gzopen=$(usex zlib) local myeconfargs=( - --docdir='$(datarootdir)'/doc/${PF} --with-systemdtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d - --enable-setuid + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + --disable-setuid #662438 --enable-cache-owner=man --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x" $(use_enable nls) @@ -78,10 +78,10 @@ src_configure() { src_install() { default dodoc docs/{HACKING,TODO} - prune_libtool_files + find "${ED}" -name "*.la" -delete || die exeinto /etc/cron.daily - newexe "${FILESDIR}"/man-db.cron man-db #289884 + newexe "${FILESDIR}"/man-db.cron-r1 man-db #289884 } pkg_preinst() { @@ -115,8 +115,8 @@ pkg_preinst() { } pkg_postinst() { - if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 7 ]] ; then + if [[ $(ver_cut 2 ${REPLACING_VERSIONS}) -lt 7 ]] ; then einfo "Rebuilding man-db from scratch with new database format!" - mandb --quiet --create + su man -s /bin/sh -c 'mandb --quiet --create' 2>/dev/null fi } |