Created attachment 198531 [details] patch
No, it still breaks for other reasons. Please hold on.
Tobias, There is some conflict in the use of Eigen. I suggest to just mark it as BROKEN, since it isn't worth the time to investigate old, discontinued version breakages. This is the EOLed version of kalzium, that also uses the older version of avogadro libs. Users who want to use kalzium really need to switch to the currently supported version. Yuri
Hi Yuri Thanks for investigating. I'm not convinced this is ideal. The port will be deleted anyways in december. However, I think it is worth investigating whether using eigen:3 in avogadro would be feasible. Also science/kalzium seems to still build, so there might be some changes in that version that can be backported to kalzium-kde4 [though I agree, that investing time in EOL software is not the best investment of time -- but as we broke it by upgrading its dependency, we need to fix it, or revert the upgrade]. mfg Tobias
(In reply to Tobias C. Berner from comment #3) Tobias, Ok, I will look into this some more. Yuri
Created attachment 198599 [details] patch Disabling Eigen3 detection does the trick. -) The port says eigen:2, but eigen3 detection is actually in place, and it fails with eigen3 when detected. For whatever reason, the plist lost 3 files, but at least it builds now. -)
Comment on attachment 198599 [details] patch Hi Yuri, Thanks for fixing it. You could probably be a bit more elegant by disabling it via CMAKE_DISABLE_FIND_PACKAGE_Eigen3, but I think this is good enough for the 2 months until svn rm :D Please feel free to commit it, and refer to r482622. mfg Tobias
Thanks, Tobias!
A commit references this bug: Author: yuri Date: Sun Oct 28 02:37:34 UTC 2018 New revision: 483212 URL: https://svnweb.freebsd.org/changeset/ports/483212 Log: science/kalzium-kde4: Fix build * Fix variable/macro name clash * Fix broken eigen:3 recognition by disablijng it PR: 232593 Changes: head/science/kalzium-kde4/Makefile head/science/kalzium-kde4/files/ head/science/kalzium-kde4/files/patch-src_calculator_gasCalculator.cpp head/science/kalzium-kde4/files/patch-src_calculator_gasCalculator.h head/science/kalzium-kde4/pkg-plist