summaryrefslogtreecommitdiff
path: root/x11/kdelibs4/files/patch-cmake-modules-FindGettext.cmake
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-09 16:52:28 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-09 16:52:28 +0000
commit568f8e877fb50618d4813b943d712e3bc08fd147 (patch)
tree16eef3a555a802ca06d05606c7f2a75ccbc6a431 /x11/kdelibs4/files/patch-cmake-modules-FindGettext.cmake
parent- Force commit (diff)
The KDE FreeBSD team is proud to announce the release of KDE 4.1.0
for FreeBSD. The official KDE 4.1.0 release notes can be found at http://www.kde.org/announcements/4.1/. Some note: * Prefix KDE4 will be install into a custom prefixes namely ${LOCALBASE}/kde4. KDE4 and KDE3 can co-exist * Sound For sound to work, it is necessary to have dbus and hal enabled in your system. Please see the respective documentation on how to enable these. For more Informations see the HEADS UP at ports@ and kde-freebsd@ or our wiki page http://wiki.freebsd.org/KDE4/Install. Have fun!
Diffstat (limited to 'x11/kdelibs4/files/patch-cmake-modules-FindGettext.cmake')
-rw-r--r--x11/kdelibs4/files/patch-cmake-modules-FindGettext.cmake29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11/kdelibs4/files/patch-cmake-modules-FindGettext.cmake b/x11/kdelibs4/files/patch-cmake-modules-FindGettext.cmake
new file mode 100644
index 000000000000..4e8657ae7c19
--- /dev/null
+++ b/x11/kdelibs4/files/patch-cmake-modules-FindGettext.cmake
@@ -0,0 +1,29 @@
+--- ../cmake/modules/FindGettext.cmake.orig 2008-07-11 18:32:43.000000000 +0200
++++ ../cmake/modules/FindGettext.cmake 2008-07-11 18:32:58.000000000 +0200
+@@ -26,13 +26,12 @@
+ include(CheckIncludeFiles)
+ include(CheckLibraryExists)
+ include(CheckFunctionExists)
+-
+- check_include_files(libintl.h HAVE_LIBINTL_H)
+-
+- set(GETTEXT_INCLUDE_DIR)
++
++ FIND_PATH(GETTEXT_INCLUDE_DIR libintl.h)
+ set(GETTEXT_LIBRARIES)
+
+- if (HAVE_LIBINTL_H)
++ if (GETTEXT_INCLUDE_DIR)
++ set(HAVE_LIBINTL_H TRUE)
+ check_function_exists(dgettext LIBC_HAS_DGETTEXT)
+ if (LIBC_HAS_DGETTEXT)
+ set(GETTEXT_SOURCE "built in libc")
+@@ -47,7 +46,7 @@
+ set(GETTEXT_FOUND TRUE)
+ endif (LIBINTL_HAS_DGETTEXT)
+ endif (LIBC_HAS_DGETTEXT)
+- endif (HAVE_LIBINTL_H)
++ endif (GETTEXT_INCLUDE_DIR)
+
+ if (GETTEXT_FOUND)
+ if (NOT Gettext_FIND_QUIETLY)