diff mupdf-source/scripts/wrap/state.py @ 6:b5f06508363a

PyMuPDF builds on FreeBSD now with "gmake -f Makefile.freebsd". A virtual environment with requirements from "requirements-build.txt" is required.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 16:16:51 +0200
parents b50eed0cc0ef
children 8934ac156ef5
line wrap: on
line diff
--- a/mupdf-source/scripts/wrap/state.py	Mon Sep 15 12:32:08 2025 +0200
+++ b/mupdf-source/scripts/wrap/state.py	Mon Sep 15 16:16:51 2025 +0200
@@ -69,6 +69,7 @@
         self.windows = (self.os_name == 'Windows' or self.os_name.startswith('CYGWIN'))
         self.cygwin = self.os_name.startswith('CYGWIN')
         self.openbsd = self.os_name == 'OpenBSD'
+        self.freebsd = self.os_name == 'FreeBSD'
         self.linux = self.os_name == 'Linux'
         self.macos = self.os_name == 'Darwin'
         self.pyodide = os.environ.get('OS') == 'pyodide'