Created attachment 223935 [details] Patch - Optionize building demos - Fix depends (only depend on GL for demos, fix configure dependency detection by using USES=localbase and pkgconfig) - Fix build of demo code (use older compatible C++ standard and patch some bits) - Use native OPTIONS feature to make options mutually exclusive
Could you commit these changes?. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=96b5f3c1c98b69a9991d7e00909a7eccd1ff7961 commit 96b5f3c1c98b69a9991d7e00909a7eccd1ff7961 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-04-08 23:35:52 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-04-22 12:08:19 +0000 devel/ode: fix and optionize building demos, other minor improvements - Optionize building demos - Fix depends (only depend on GL for demos, fix configure dependency detection by using USES=localbase and pkgconfig) - Fix build of demo code (use older compatible C++ standard and patch some bits) - Use native OPTIONS feature to make options mutually exclusive PR: 254898 Approved by: acm (maintainer) devel/ode/Makefile | 21 ++++++++++----------- .../files/patch-ode_demo_demo__jointPR.cpp (new) | 11 +++++++++++ .../files/patch-ode_demo_demo__jointPU.cpp (new) | 11 +++++++++++ .../ode/files/patch-ode_demo_demo__piston.cpp (new) | 11 +++++++++++ 4 files changed, 43 insertions(+), 11 deletions(-)