From 708445a8dd7e0e3a20cb03d28d1674cad97aad78 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sat, 22 Mar 2025 14:43:16 -0700 Subject: [PATCH] scripts/download-macos-libs.py: Patch out epoxy.pc Requires.private --- scripts/download-macos-libs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/download-macos-libs.py b/scripts/download-macos-libs.py index c58703db72..15baa7543b 100755 --- a/scripts/download-macos-libs.py +++ b/scripts/download-macos-libs.py @@ -149,7 +149,9 @@ class LibInstaller: if pkg_name.startswith('openssl'): # FIXME new_prefix = f'prefix={self._extract_path}/opt/local/libexec/openssl11\n' lines[i] = new_prefix - break + elif l.strip().startswith('Requires.private:'): + if pkg_name.startswith('libepoxy'): + lines[i] = '' with open(extracted_path, 'w') as f: f.write(''.join(lines))