Bug 203156

Summary: Fix lang/rubinius build with clang 3.7.0
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: emaste, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (ashish)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix lang/rubinius build with clang 3.7.0 none

Description Dimitry Andric freebsd_committer freebsd_triage 2015-09-16 17:39:09 UTC
Created attachment 161119 [details]
Fix lang/rubinius build with clang 3.7.0

During the exp-run in bug 201377, it was found that lang/rubinius gives errors with a recent clang 3.7.0 snapshot:

http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/rubinius-2.5.2.log

This patch fixes the warnings about 'this' never being null, and adds -I${PREFIX}/include to CFLAGS (needed because the port cannot find its header files).
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2015-09-21 02:10:16 UTC
Hi,

Thanks for the fix. It looks good to me, except I don't understand the reasoning behind "CFLAGS=-I${PREFIX}/include" ? The port seems to be building fine (and built fine) without this change (on 10.2-R with lang/clang37 port).

Thanks!
Comment 2 Walter Schwarzenfeld 2018-01-13 05:42:58 UTC
clang37 is gone long time ago. This is overcome by events.
Comment 3 Walter Schwarzenfeld 2018-02-12 21:36:53 UTC
/usr/ports/MOVED
lang/clang37||2017-04-01|Obsolete and unmaintained upstream