mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
sys-apps/help2man: Sync with Gentoo
It's from Gentoo commit 44e7bc6fb1f4a0ad974c8a2da6e3f8f885e2e32b.
This commit is contained in:
parent
70d96f66f7
commit
8641b49c5c
@ -1,2 +1 @@
|
||||
DIST help2man-1.48.5.tar.xz 204672 BLAKE2B 6d96f5f65f8c637d524e5c373f2b89f114adf544c1d3508a9cb51115279b9bf6399c8ebb0a8d831de12ef8cdaca40b6e75412a221efc5d2dd1794e9c9643196f SHA512 800eb0daa9daef8e423d52ede55eee2960122ea0269865295afada4cf4fcc1c6791da8429c3a57c0fc1bf0a14c8a77953952325413a8faa5dd07b1bc5bc0edd1
|
||||
DIST help2man-1.49.3.tar.xz 228472 BLAKE2B a5ed9ea3ff78b5287fa5bc02302da6a3657fee8fefd4fc43289e209bbe128d58da633c38aa4039c93a761c4842d3549a73cc14e77ee2859ed256613a8fba6e23 SHA512 5f19fad1e38b0572b63ed8bfd146b717fc22dff3a26641e8b5c8431df13da9574679d9a3407da62790db8a29286694ea1bfd751cba168f475302ad31cce845cf
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="GNU utility to convert program --help output to a man page"
|
||||
HOMEPAGE="https://www.gnu.org/software/help2man/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
|
||||
# nls/FSFAP for bindtextdomain.c
|
||||
LICENSE="GPL-3+ nls? ( FSFAP )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
nls? ( dev-perl/Locale-gettext )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( debian/changelog NEWS README THANKS ) #385753
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.46.1-linguas.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i \
|
||||
-e 's/-shared/-bundle/' \
|
||||
Makefile.in || die
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Disable gettext requirement as the release includes the gmo files #555018
|
||||
local myeconfargs=(
|
||||
ac_cv_path_MSGFMT=$(type -P false)
|
||||
$(use_enable nls)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user