Summary: | lang/spidermonkey52: Needs GNU_CONFIGURE fixup for powerpcspe | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Justin Hibbits <jhibbits> | ||||||
Component: | Individual Port(s) | Assignee: | Koop Mast <kwm> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | linimon | ||||||
Priority: | --- | Keywords: | needs-patch, needs-qa | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(kwm) koobs: merge-quarterly? |
||||||
Hardware: | powerpc | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Justin Hibbits
2018-12-14 21:19:40 UTC
Totally not easy, spidermonkey or beter said firefox has a wierd build system. It seems a mishmash of things. And I can't figure out how to get it to work with GNU_CONFIGURE. Justin can so instead of a ton of workarounds to get it working, can you list which fixes you need to get spidermonkey52 to work on the powerpcspe ARCH? Thanks It needs the config.guess and config.sub files replaced with the Template/ ones. I'll attach the hack patch I have for it, which is just a copy of what's in bsd.port.mk, but gets it building for me. Created attachment 200814 [details]
Makefile hack
Hack to replace config.guess and config.sub
Well yes, might fix powerpcspe but breaks amd64 :) Reexecuting in the virtualenv checking for a shell... /bin/sh checking for host system type... ERROR: Unknown CPU type: amd64 ===> Script "configure" failed unexpectedly. Can you try the following patch on powerpc? Created attachment 200818 [details]
Proposed powerpcspe patch v1
It configures just fine with your patch. Thanks! I can confirm this patch also builds on amd64. A commit references this bug: Author: kwm Date: Mon Jan 14 22:15:45 UTC 2019 New revision: 490318 URL: https://svnweb.freebsd.org/changeset/ports/490318 Log: Build fix for powerpcspe. PR: 234023 Reported by: jhibbits@ Tested by: jhibbits@, linimon@ Changes: head/lang/spidermonkey52/files/patch-build_autoconf_config.sub |