summaryrefslogtreecommitdiff
path: root/sys-devel/autogen/files/autogen-5.18.16-no-which.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/autogen/files/autogen-5.18.16-no-which.patch')
-rw-r--r--sys-devel/autogen/files/autogen-5.18.16-no-which.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-devel/autogen/files/autogen-5.18.16-no-which.patch b/sys-devel/autogen/files/autogen-5.18.16-no-which.patch
new file mode 100644
index 000000000000..c4b462cba420
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.18.16-no-which.patch
@@ -0,0 +1,15 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -149,9 +149,9 @@ GDnam=getdefs${ac_exeext}
+ CLnam=columns${ac_exeext}
+ if test "X$cross_compiling" = Xyes
+ then
+- AGexe=`which ${AGnam}`
+- GDexe=`which ${GDnam}`
+- CLexe=`which ${CLnam}`
++ AGexe=`command -v ${AGnam}`
++ GDexe=`command -v ${GDnam}`
++ CLexe=`command -v ${CLnam}`
+ else
+ AGexe=${ag_top_builddir}/agen5/${AGnam}
+ GDexe=${ag_top_builddir}/getdefs/${GDnam}