freebsd-ports/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake
Max Brazhnikov 65bc39508f Point pimlibs dependent ports directly to kde4 libraries,
so they don't link with kdepim3.

Reported by:	 Jan Henrik Sylvester <me at janh.de> via kde@freebsd maillist.
2010-05-22 16:20:31 +00:00

16 lines
658 B
CMake

--- ./cmake/modules/FindQGpgme.cmake.orig 2009-05-06 14:13:19.000000000 +0400
+++ ./cmake/modules/FindQGpgme.cmake 2010-05-21 23:58:20.499901479 +0400
@@ -17,11 +17,11 @@
HINTS ${GPGME_LIBRARY_DIR})
else ( WIN32 )
find_library(_QGPGME_EXTRA_LIBRARY gpgme++-pthread
- HINTS ${GPGME_LIBRARY_DIR})
+ HINTS ${GPGME_LIBRARY_DIR} %%KDE4_PREFIX%%/lib)
endif ( WIN32 )
find_library(QGPGME_LIBRARY qgpgme
- HINTS ${GPGME_LIBRARY_DIR})
+ HINTS ${GPGME_LIBRARY_DIR} %%KDE4_PREFIX%%/lib)
if (QGPGME_LIBRARY)
# get the libdirectory and then go one up