Files
macports-ports/python/py-wxpython-4.0/files/build_py.patch
2026-01-30 09:32:41 -05:00

32 lines
1.2 KiB
Diff

--- build.py.orig 2025-10-29 01:38:50
+++ build.py 2026-01-30 09:09:01
@@ -1549,9 +1549,6 @@
if isDarwin:
if options.osx_cocoa:
build_options.append("--osx_cocoa")
-
- if options.mac_arch:
- build_options.append("--mac_universal_binary=%s" % options.mac_arch)
if options.no_config:
build_options.append('--no_config')
@@ -1634,9 +1631,6 @@
" rebuilt. Please install gettext and associated tools.")
def copyWxDlls(options):
- if options.no_magic or options.use_syswx:
- return
-
if isWindows:
# Copy the wxWidgets DLLs to the wxPython package folder
msw = getMSWSettings(options)
@@ -1679,8 +1673,6 @@
cfg = Config()
wxlibdir = os.path.join(getBuildDir(options), "lib")
dlls = sorted(glob.glob(wxlibdir + '/*.dylib'))
- for dll in dlls:
- copyIfNewer(dll, posixjoin(phoenixDir(), cfg.PKGDIR, os.path.basename(dll)), verbose=True)
# Now use install_name_tool to change the extension modules to look
# in the same folder for the wx libs, instead of the build dir. Also