Skip to content

Commit

Permalink
app-misc/linux-logo: add patch to remove implicit dependency on sys-a…
Browse files Browse the repository at this point in the history
…pps/which

Signed-off-by: Cristian Othón Martínez Vera <[email protected]>
Signed-off-by: Bernard Cafarelli <[email protected]>
  • Loading branch information
cfuga authored and voyageur committed Mar 31, 2023
1 parent da31205 commit 0d5348e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions app-misc/linux-logo/files/linux-logo-6.0-which.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
--- 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=""

0 comments on commit 0d5348e

Please sign in to comment.