summaryrefslogtreecommitdiff
path: root/net-misc/nx/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-30 01:41:48 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-30 01:41:48 +0100
commit38c20fb51b0482ec1b2c2a34ed16227718eac4b2 (patch)
tree18555c0f1f2d21b225fb67bd5408127b8aaadef2 /net-misc/nx/files
parent2831634aa8213b30f404da1f64644d94dc66a6d0 (diff)
gentoo auto-resync : 30:06:2023 - 01:41:48
Diffstat (limited to 'net-misc/nx/files')
-rw-r--r--net-misc/nx/files/nx-3.5.99.27-which.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-misc/nx/files/nx-3.5.99.27-which.patch b/net-misc/nx/files/nx-3.5.99.27-which.patch
new file mode 100644
index 000000000000..4d452dad0157
--- /dev/null
+++ b/net-misc/nx/files/nx-3.5.99.27-which.patch
@@ -0,0 +1,22 @@
+--- a/nx-X11/Makefile
++++ b/nx-X11/Makefile
+@@ -70,7 +70,7 @@
+ else \
+ exit 0; \
+ fi
+- which $(IMAKE) 1>/dev/null && $(IMAKE_CMD) $(MFLAGS) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
++ command -v $(IMAKE) 1>/dev/null && $(IMAKE_CMD) $(MFLAGS) -s xmakefile -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
+
+ # don't allow any default rules in this Makefile
+ .SUFFIXES:
+--- a/nx-X11/extras/Mesa_6.4.2/bin/mklib
++++ b/nx-X11/extras/Mesa_6.4.2/bin/mklib
+@@ -285,7 +285,7 @@
+ # -linker was not specified, choose default linker now
+ if [ $CPLUSPLUS = 1 ] ; then
+ # determine linker and options for C++ code
+- if [ `which c++` ] ; then
++ if [ `command -v c++` ] ; then
+ # use Sun c++
+ LINK="c++"
+ elif [ `type g++` ] ; then