summaryrefslogtreecommitdiff
path: root/x11-libs/goffice/files/goffice-0.10.59-remove-which.patch
blob: 6bfbe2a94d0d0c53753941db645f324cefba66b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
https://bugs.gentoo.org/955369
https://gitlab.gnome.org/GNOME/goffice/-/merge_requests/17

--- a/configure
+++ b/configure
@@ -19495,7 +19495,7 @@
     have_mandatory_funcs=yes
     need_sunmath=0
     ss_ccprog=`echo $CC | sed -e 's/ .*//'`
-    ss_cc=`which $ss_ccprog`
+    ss_cc=`command -v $ss_ccprog`
     ss_dir=`dirname "$ss_cc"`"/.."
     if test ! -f "$ss_dir/lib/libsunmath.so"; then
         ss_dir="/opt/SUNWspro"