ports/cad/calculix/files/patch-cgx__VER_src_cgx.h
Pedro F. Giffuni 0796f58254 cad/calculix: Split the ccx analyzer out of the main port.
CalculiX has alwasy been comoposed of two independent packages: ccx and
cgx. Ccx, the main tool for doing FEA, depends on fortran and currently
has to be built with GCC. Cgx, on the other hand, uses OpenGL and the C++
libraries it depends on are built with our native clang so buuilding it
with GCC causes C++ library conflicts.

By making ccx an independent port we can better focus on the specific
requirements of each tool and avoid compiler-related conflicts. This also
helps the port work again with newer versions GCC.

PR:	219290. 22043, 220434
Approved by:	gerald
2017-08-15 00:18:22 +00:00

13 lines
566 B
C

--- cgx_2.12/src/cgx.h.orig 2017-04-28 10:12:50 UTC
+++ cgx_2.12/src/cgx.h
@@ -89,8 +89,8 @@ rendering is done in the index-mode.
"/usr/local/CalculiX/ccx_2.12/doc/ccx/ccx.html",\
"/usr/local/CalculiX/cgx_2.12/doc/aflib/aflib.pdf"}
#else
- #define HELPFILE {"/usr/local/CalculiX/cgx_2.12/doc/cgx/cgx.html",\
- "/usr/local/CalculiX/ccx_2.12/doc/ccx/ccx.html"}
+ #define HELPFILE {"/usr/local/share/doc/CalculiX/cgx/cgx.html",\
+ "/usr/local/share/doc/CalculiX/ccx/ccx.html"}
#endif
/* html browser, change if necessary */