Date: Tue, 06 Mar 2018 19:58:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226401] devel/jsoncpp scons build system claimed obsolete. moreover, won't build if system default python is 3.* Message-ID: <bug-226401-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226401 Bug ID: 226401 Summary: devel/jsoncpp scons build system claimed obsolete. moreover, won't build if system default python is 3.* Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: dan@obluda.cz Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Created attachment 191258 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191258&action= =3Dedit scons->cmake patch for head/devel/jsoncpp/Makefile 462353 2018-02-19 22:25= :14Z yuri =3D=3D Issue =3D=3D 1. From README.md: "The SCons-based build system is deprecated. Please use CMake" 2. From SConstruct: "shared library support is buggy: it assumes that a sta= tic and dynamic library can be build from the same object files. This is not tr= ue on many platforms" 3. With python 3.* claimed system default it doesn't build because of sever= al syntax errors in SConstruct and undefined functions called =3D=3D Solution (all three issues) =3D=3D Follow README.md and use CMake instead of scons. It require simple change in Makefile only, see attachment. Moreover, devel/jsoncpp/files/patch-SConstru= ct and devel/jsoncpp/files/patch-src_lib__json_sconscript become obsolete and = can be removed. Brief summary of Makefile changes: 1: scons replaced by cmake:noninja in USES 2: scons related args PLATFORM and MAKE_ARGS replaced by CMAKE_ARGS 3: paths in "do_install" modified to follow CMAKE flavor of build tree 4: "do-test" modified to follow CMAKE flavor of test --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226401-13>