On Wed, Mar 18, 2015 at 3:38 PM, Stuart Henderson <st...@openbsd.org> wrote:
> On 2015/03/18 08:18, David Coppa wrote:
>>
>> Hi!
>>
>> Here's a port for devel/jsoncpp, based on the port at
>> https://github.com/jasperla/openbsd-wip/tree/master/devel/jsoncpp/
>> jca@ did some time ago.
>>
>> It is a new dependency for the upcoming update to CMake-3.2.1.
>>
>> Comments and/or OKs?
>>
>> Ciao,
>> David
>
> stepmania, ruby-passenger, minetest and chromium have embedded copies
> of jsoncpp, can you check them out please? wondering if this will be
> picked up at build time, or cause any conflicts, or if any of them
> should move to using the lib from this port.

They are all safe.

stepmania, ruby-passenger and minetest do not even check for system
jsoncpp, they directly include local copies of jsoncpp's source files.

e.g. (stepmania):

am__stepmania_SOURCES_DIST = ../extern/libpng/include/png.c \
        ...
        ...
        ../extern/jsoncpp/src/lib_json/json_reader.cpp \
        ../extern/jsoncpp/src/lib_json/json_value.cpp \
        ../extern/jsoncpp/src/lib_json/json_writer.cpp \
        ../extern/jsoncpp/include/json/autolink.h \
        ../extern/jsoncpp/include/json/config.h \
        ../extern/jsoncpp/include/json/features.h \
        ../extern/jsoncpp/include/json/forwards.h \
        ../extern/jsoncpp/include/json/json.h \
        ../extern/jsoncpp/include/json/reader.h \
        ../extern/jsoncpp/include/json/value.h \
        ../extern/jsoncpp/include/json/writer.h RageFileBasic.cpp \
        ...
        ...

chromium wants a "-Duse_system_jsoncpp=1", so it's safe too.

Cheers!
David

Reply via email to