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?

Thanks,
Matt

--- ../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)" )
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to