[kde-freebsd] Setting "SO_VERSION" in net-im/decibel port

Max Brazhnikov makc at issp.ac.ru
Tue Jan 6 08:46:18 CET 2009


On Mon, 5 Jan 2009 15:05:07 -0600, Matt wrote:
> I noticed in my last tinderbox run of the latest kdenetwork4 port
> (4.1.85) that the decibel library is not being properly detected.
> This appears to be for the same reason that the libmsn library wasn't
> previously detected - the SO_VERSION for decibel is set such that it
> is not shown in the library list when running "ldconfig -r".  The
> following change (which is an addition to the "patch-CMakeLists.txt"
> that was already in the port's files directory) remedies the issue and
> makes it so that the decibel library shown in "ldconfig -r".
>
> Is this the proper way to fix this?

The port has been fixed already:
http://www.freebsd.org:80/cgi/cvsweb.cgi/ports/net-im/decibel/

Max

> --- ../CMakeLists.txt.orig      2007-07-19 10:42:20.000000000 -0500
> +++ ../CMakeLists.txt   2009-01-05 11:49:58.000000000 -0600
> @@ -4,7 +4,6 @@
>  SET(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
>
>  FIND_PACKAGE(Qt4 REQUIRED)
> -FIND_PACKAGE(KDE4)
>  INCLUDE(UsePkgConfig REQUIRED)
>  INCLUDE(Qt4DBusMacros REQUIRED)
>  INCLUDE(FindDoxygen)
> @@ -19,7 +18,7 @@
>  SET(PATCH_LEVEL "0")
>
>  SET(VERSION "${MAYOR_VERSION}.${MINOR_VERSION}.${PATCH_LEVEL}")
> -SET(SO_VERSION "${VERSION}")
> +SET(SO_VERSION "${MAYOR_VERSION}")
>
>  # Suffix for x86/x86_64:
>  SET(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )



More information about the kde-freebsd mailing list