mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-perl/Unicode-LineBreak: remove which from Makefile.PL
Closes: https://bugs.gentoo.org/967045 Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/44973 Closes: https://github.com/gentoo/gentoo/pull/44973 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
62c17690ed
commit
a54aa3d264
@@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=NEZUMI
|
||||
DIST_VERSION=2019.001
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="UAX #14 Unicode Line Breaking Algorithm"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="dev-perl/MIME-Charset"
|
||||
DEPEND="${RDEPEND}"
|
||||
PERL_RM_FILES=("t/pod.t")
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2019.1.0-which.patch )
|
||||
@@ -0,0 +1,13 @@
|
||||
Bug: https://bugs.gentoo.org/967045
|
||||
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -209,7 +209,7 @@
|
||||
sub CheckExternalDependencies {
|
||||
my @dependencies = @_;
|
||||
for my $program (@dependencies) {
|
||||
- if (system("which $program > /dev/null") != 0) {
|
||||
+ if (system("command -v $program > /dev/null") != 0) {
|
||||
warn "W: Required test dependency not found: $program\n";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user