freebsd-ports/x11/kdelibs4/files/patch-cmake_modules_FindPhonon.cmake
Martin Wilke ef1b3d1071 The KDE FreeBSD team is proud to announce the release of KDE 4.2.0
for FreeBSD. The official KDE 4.2.0 (Codename: "The Answer") release
notes can be found at:
http://kde.org/announcements/4.2/index.php.

New supported languages include Arabic, Icelandic, Basque,
Hebrew, Romanian, Tajik and several Indian languages (Bengali India,
Gujarati, Kannada, Maithili, Marathi) indicating a rise in popularity in
this part of Asia.

New ports for KDE 4.2.0:
arabic/kde4-l10n		Arabic
hebrew/kde4-l10n		Hebrew
misc/kde4-l10n-bn_IN		Bengali (India)
misc/kde4-l10n-eu		Basque
misc/kde4-l10n-gu		Gujarati
misc/kde4-l10n-is		Icelandic
misc/kde4-l10n-kn		Kannada
misc/kde4-l10n-mai		Maithili
misc/kde4-l10n-mr		Marathi
misc/kde4-l10n-ro		Romanian
misc/kde4-l10n-tg		Tajik
math/eigen2			Lightweight library for vector and matrix math
graphics/kipi-plugins-kde4	KDE4 kipi graphics plugins
sysutils/policykit-kde		PolicyKit manager for KDE

Unfortunately FreeBSD 6.4 support is dropped.

We'd like to say thanks for feedback and help to:
	Matt Tosto, Kris Moore, stickibit, David Johnson, Markus Brueffer,
	David Naylor, Thomas Schlesinger, Warren Liddell, Thomas Abthorpe,
	Diego Depaoli, Mats Andreassen, portmgr for exp-run and repocopies.
2009-02-08 20:23:45 +00:00

16 lines
1.3 KiB
CMake

--- ../cmake/modules/FindPhonon.cmake.orig 2008-12-04 11:35:54.000000000 +0300
+++ ../cmake/modules/FindPhonon.cmake 2008-12-15 23:16:39.000000000 +0300
@@ -27,11 +27,11 @@
endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)
# As discussed on kde-buildsystem: first look at CMAKE_PREFIX_PATH, then at the suggested PATHS (kde4 install dir)
- find_library(PHONON_LIBRARY NAMES phonon PATHS ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
+ find_library(PHONON_LIBRARY NAMES phonon PATHS ${KDE4_PREFIX}/lib ${KDE4_LIB_INSTALL_DIR} ${QT_LIBRARY_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
# then at the default system locations (CMAKE_SYSTEM_PREFIX_PATH, i.e. /usr etc.)
find_library(PHONON_LIBRARY NAMES phonon)
- find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h PATHS ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
+ find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h PATHS ${KDE4_PREFIX}/include ${KDE4_INCLUDE_INSTALL_DIR} ${QT_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
find_path(PHONON_INCLUDE_DIR NAMES phonon/phonon_export.h)
if(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)