Bug 222153 - www/node: detect clang version at run time
Summary: www/node: detect clang version at run time
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Bradley T. Hughes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-08 22:11 UTC by Max Khon
Modified: 2019-01-23 22:07 UTC (History)
0 users

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


Attachments
Detect clang/llvm version at run time (4.09 KB, patch)
2017-09-08 22:11 UTC, Max Khon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Khon freebsd_committer freebsd_triage 2017-09-08 22:11:09 UTC
Created attachment 186180 [details]
Detect clang/llvm version at run time

- clang was updated to 4.0 during FreeBSD 11.1 release cycle (11.0 had 3.8)
- nodejs had a hack for clang 3.8 which broke nodejs modules builds with clang 4.0 and which was fixed in this issue: https://github.com/nodejs/node/pull/14077

However this fix does not work if nodejs (www/node port) is installed as package on FreeBSD 11.1 and later: node package is built on FreeBSD 11.0 with clang 3.8 (see http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/node-8.4.0.txz)
Comment 1 Bradley T. Hughes freebsd_committer freebsd_triage 2019-01-23 22:07:55 UTC
I am closing this, since the problem this patch is trying to fix has essentially aged out.

Regardless, thanks for the submission. I'm sorry I didn't manage to give any feedback or do anything with it until now.