Changeset View
Changeset View
Standalone View
Standalone View
x11-toolkits/py-wxPython40/files/patch-build.py
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- build.py.orig 2019-05-21 23:12:12 UTC | |||||
+++ build.py | |||||
@@ -401,7 +401,7 @@ def makeOptionParser(): | |||||
("mac_framework", (False, "Build wxWidgets as a Mac framework.")), | |||||
("mac_arch", ("", "Comma separated list of architectures to build on Mac")), | |||||
- ("use_syswx", (False, "Try to use an installed wx rather than building the " | |||||
+ ("use_syswx", (True, "Try to use an installed wx rather than building the " | |||||
"one in this source tree. The wx-config in {prefix}/bin " | |||||
koobs: Is there any way to set this without patching the file? That's preferable over patches
Maybe… | |||||
Done Inline ActionsIt's possible to avoid these patch using a manual do-build: do-build: ${PYTHON_CMD} ${WRKSRC}/build.py build --use_syswx --release But it doesn't compile anymore (IIRC only with llvm...), because of an include problem: ... In file included from ../../../../sip/cpp/sip_glcanvaswxGLContext.cpp:10: In file included from ../../../../sip/cpp/sipAPI_glcanvas.h:524: In file included from /usr/local/include/wx-3.0/wx/glcanvas.h:195: In file included from /usr/local/include/wx-3.0/wx/gtk/glcanvas.h:14: /usr/local/include/wx-3.0/wx/unix/glx11.h:13:10: fatal error: 'GL/glx.h' file not found #include <GL/glx.h> ^~~~~~~~~~ 1 error generated. Waf: Leaving directory `/wrkdirs/usr/ports/x11-toolkits/py-wxPython40/work-py37/wxPython-4.0.7/build/waf/3.7/gtk3' Build failed -> task in '_glcanvas' failed with exit status 1 (run with -v to display more information) -> task in '_glcanvas' failed with exit status 1 (run with -v to display more information) -> task in '_glcanvas' failed with exit status 1 (run with -v to display more information) Will build using: "/usr/local/bin/python3.7" ... lbartoletti: It's possible to avoid these patch using a manual do-build:
```
do-build:
${PYTHON_CMD}… | |||||
Done Inline Actionskoobs, I also tried the commands follow up our discussion on IRC without success. lbartoletti: koobs, I also tried the commands follow up our discussion on IRC without success. | |||||
"or the first found on the PATH determines which wx is " | |||||
"used. Implies --no_magic.")), |
Is there any way to set this without patching the file? That's preferable over patches
Maybe: