Bug 214724 - sysutils/polkit fails to build when spidermonkey17 installed
Summary: sysutils/polkit fails to build when spidermonkey17 installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 02:25 UTC by rkoberman
Modified: 2017-07-30 14:41 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rkoberman 2016-11-22 02:25:33 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-07-30 14:35:30 UTC
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