From 67bdf96354f21edbcf98f59ece56b35cb787cc52 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Mon, 30 Jan 2023 17:28:42 +0300
Subject: [PATCH 09/10] Fix for freebsd 13.0 especially

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

diff --git a/cinelerra-5.1/guicast/Makefile b/cinelerra-5.1/guicast/Makefile
index 3a41af16..ea05a6f2 100644
--- a/cinelerra-5.1/guicast/Makefile
+++ b/cinelerra-5.1/guicast/Makefile
@@ -129,6 +129,11 @@ ifneq ($(PLATFORM), Linux)
 python = $(shell which python)
 endif
 
+ifeq ($(shell uname -r | grep FreeBSD | grep 13.0),)
+python += $(shell which python3.8)
+endif
+
+
 $(BCXFER):	bccmdl.py bcxfer.C bcxfer.h
 	$(python) < ./bccmdl.py
 	+$(MAKE) -C xfer
-- 
2.30.4

