gentoo-ebuilds/app-misc/linux-logo/files/linux-logo-6.0-which.patch
Cristian Othón Martínez Vera 0d5348e7b4
app-misc/linux-logo: add patch to remove implicit dependency on sys-apps/which
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
2023-03-31 22:26:08 +02:00

29 lines
495 B
Diff

--- a/configure
+++ b/configure
@@ -28,13 +28,13 @@
fi
OS=`uname`
-INSTALL=`which install`
+INSTALL=`command -v install`
if [ -z "$PREFIX" ]; then
PREFIX=/usr/local
fi
-which xgettext
+command -v xgettext
XGETTEXT_MISSING=$?
if [ $XGETTEXT_MISSING -eq 0 ]; then
--- a/libsysinfo-0.3.0/configure
+++ b/libsysinfo-0.3.0/configure
@@ -13,7 +13,7 @@
OS=`uname`
PREFIX=/usr/local
-INSTALL=`which install`
+INSTALL=`command -v install`
LIBSYSINFO_INCLUDE="-I.."
LFLAGS=""