Bug 151344 - [PATCH] devel/clang: fix scan-build
Summary: [PATCH] devel/clang: fix scan-build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-09 14:20 UTC by Matthias Andree
Modified: 2010-10-10 14:10 UTC (History)
1 user (show)

See Also:


Attachments
clang-2.8_1.patch (835 bytes, patch)
2010-10-09 14:20 UTC, Matthias Andree
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree 2010-10-09 14:20:00 UTC
Hi Brooks,

the recent changes to clang 2.8's files/* appear to have broken
scan-build, which cannot find its sorttables.js in %%DATADIR%%.  It
appears as though we needed to add an additional transformation from
%%DATADIR%% to ${DATADIR} - which is done by my patch below.

Please commit, or allow me to do that, ASAP.

Port maintainer (brooks@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99

How-To-Repeat: 
grab some source tarball that uses GNU configure, for instance,
fetchmail

unpack it

scan-build ./configure -C
scan-build make -j4

and see the error messages at the end of the output, cannot find
sorttables.js.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-10-09 14:20:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->brooks

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-10-10 14:05:22 UTC
brooks      2010-10-10 13:05:16 UTC

  FreeBSD ports repository

  Modified files:
    devel/clang          Makefile 
  Log:
  Fix scan-build by actually replacing %%DATADIR%%.
  
  PR:             ports/151344
  Submitted by:   Matthias Andree <matthias.andree at gmx.de>
  
  Revision  Changes    Path
  1.12      +2 -1      ports/devel/clang/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Brooks Davis freebsd_committer freebsd_triage 2010-10-10 14:06:22 UTC
State Changed
From-To: open->closed

Committed as PORTREVISION 2.