From 239c9dd8b319b89a355c7b326bddf40cc144d02e Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Mon, 30 Jan 2023 14:26:31 +0300
Subject: [PATCH 04/10] More fixes to guicast/Makefile

---
 cinelerra-5.1/guicast/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cinelerra-5.1/guicast/Makefile b/cinelerra-5.1/guicast/Makefile
index d99df4df..7fbf8907 100644
--- a/cinelerra-5.1/guicast/Makefile
+++ b/cinelerra-5.1/guicast/Makefile
@@ -121,10 +121,11 @@ $(shell echo $(CFLAGS) > $(OBJDIR)/c_flags)
 $(shell echo $(OBJS) > $(OBJDIR)/objs)
 
 all: $(OUTPUT) $(UTILS)
-ifneq ($(uname -s), FreeBSD)
+PLATFORM = $(uname -s)
+ifneq ($(PLATFORM), FreeBSD)
 python = $(shell find /usr/local/bin -name python3\* | head -n 1)
 endif
-ifneq ($(uname -s), Linux)
+ifneq ($(PLATFORM), Linux)
 python = `which python`
 endif
 
-- 
2.30.4

