[Bug 236061] devel/json-cpp: Fix build with libc++ 8.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 26 18:20:08 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236061

            Bug ID: 236061
           Summary: devel/json-cpp: Fix build with libc++ 8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org

Created attachment 202389
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202389&action=edit
Comment out line that produces "-I."

With libc++ 8.0, which is in the projects/clang800-import branch, and which
will soon be merged to head, compilation of devel/jsoncpp fails due to a
conflict between the new C++ <version> header, and a local file "version" which
is produced by jsoncpp during its configure phase.

This is due to the initial test runner being compiled with "-I.", even though
it does not need any file from the port's working directory root.  Therefore,
it seems to be easiest to comment out the line from the SConstruct script that
adds the "-I." option.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list