sysutils/polkit fails to build when lang/spidermonkey17 is installed. polkit depends on spidermonkey170, but if both spidermonkey170 and spidermonkey17 are installed, polkit compiles against the header files from spidermonkey17. This results in may error due to a number of type definitions that are not present in spidermonkey17. polkit will install and run correctly if: pkg delete -f spidermonkey17 portmaster sysutils/polkit portmaster lang/spidermonkey17 as will mediatomb which depends on lang/spidermonkey17.
A commit references this bug: Author: kwm Date: Sun Jul 30 14:34:28 UTC 2017 New revision: 446936 URL: https://svnweb.freebsd.org/changeset/ports/446936 Log: Move spidermonkey17's headers out of LOCALBASE and in there own subdir. [1] This fixes build issues with other spidermonkey using ports when SM 1.7 is installed, due to SM 1.7's headers being found first. [2] Update SM 1.7 users to take this change into account. PR: 219761 [1], 214724 [2], 202246 [2] Approved by: maintainer timeout (nearly 2 months) Changes: head/lang/p5-JavaScript-SpiderMonkey/Makefile head/lang/p5-JavaScript-SpiderMonkey/files/patch-Makefile.PL head/lang/spidermonkey17/Makefile head/net/mediatomb/Makefile head/www/elinks/Makefile