summaryrefslogtreecommitdiff
path: root/x11/kdelibs4/files/patch-ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdelibs4/files/patch-ConfigureChecks.cmake')
-rw-r--r--x11/kdelibs4/files/patch-ConfigureChecks.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/kdelibs4/files/patch-ConfigureChecks.cmake b/x11/kdelibs4/files/patch-ConfigureChecks.cmake
new file mode 100644
index 000000000000..a4eb95820986
--- /dev/null
+++ b/x11/kdelibs4/files/patch-ConfigureChecks.cmake
@@ -0,0 +1,17 @@
+--- ./ConfigureChecks.cmake.orig 2009-06-09 20:09:30.000000000 +0400
++++ ./ConfigureChecks.cmake 2009-08-06 13:42:18.000000000 +0400
+@@ -144,11 +144,11 @@
+
+ set(UTIL_LIBRARY)
+
+- check_library_exists(utempter addToUtmp "" HAVE_ADDTOUTEMP)
+- check_include_files(utempter.h HAVE_UTEMPTER_H)
++ check_library_exists(utempter addToUtmp "/usr/local/lib" HAVE_ADDTOUTEMP)
++ check_include_files(/usr/local/include/utempter.h HAVE_UTEMPTER_H)
+ if (HAVE_ADDTOUTEMP AND HAVE_UTEMPTER_H)
+ set(HAVE_UTEMPTER 1)
+- set(UTEMPTER_LIBRARY utempter)
++ set(UTEMPTER_LIBRARY /usr/local/lib/libutempter.so)
+ else (HAVE_ADDTOUTEMP AND HAVE_UTEMPTER_H)
+ check_function_exists(login login_in_libc)
+ if (NOT login_in_libc)