CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]       2022/03/18 15:05:31

Modified files:
        devel/cmake    : Makefile cmake.port.mk 
        devel/cmake/patches: patch-Source_cmGeneratorTarget_cxx 

Log message:
Fix LIBxxx_VERSION processing by introducing  MODCMAKE_USE_SHARED_LIBS

The default "0.0" version has been broken for several months/years.

MODCMAKE_USE_SHARED_LIBS:

If set to "Yes", CMake will override of shared library version using
LIBxxx_VERSION.  LIBxxx_VERSION is created by the module and put in
CONFIGURE_ENV and MAKE_ENV.

If no LIBxxx_VERSION environment variable is present during configure stage
but the shared library was set a VERSION or SOVERSION by CMake, then the
shared library verison is set to 0.0.

Special case: If the CMake target shared library is given the prefix `lib'
and the `PREFIX' option is set to an empty string then the overwrite still
takes effect.

OK kn@, Bulk build by sthen@, Feedback by many; Thanks

Reply via email to