1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-05 11:29:15 -04:00
Commit graph

2 commits

Author SHA1 Message Date
Kurt Jaeger
8d8ecf08e7 devel/jsoncpp: 0.6.0 -> 1.7.2
Changes: https://github.com/open-source-parsers/jsoncpp/releases
- Changed distsite to github
- This is a major upgrade, please report any issues

PR:		209407
Submitted by:	yuri@rawbw.com
Approved by:	johan@stromnet.se (maintainer)
Reviewed by:	brd, swills
2016-05-17 17:00:15 +00:00
Raphael Kubo da Costa
7dfc4025ea Properly version libjsoncpp.so.
Fix the problem described in bug 200969: currently, libjsoncpp.so is not
properly versioned by SCons; in other words, there's no SONAME in the
library's ELF header, which confuses the linker when creating binaries that
link against it.

Solve it by using InstallVersionedLib(), available since SCons 2.3.0: this
call is able to properly version the shared library the way we need it.
Since there is no support for actually installing the files outside the
build directory, we have to recreate the required symlinks ourselves in the
Makefile. Another related change is that we now create the libraries with
the proper names instead of doing that in the Makefile.

I'm (ab)using the maintainer's approval given to bug 200939, as swills's
latest patch includes this change as well.

PR:		200969
PR:		201057
Approved by:	johan@stromnet.se (maintainer)
2015-06-30 21:43:04 +00:00