> [ 20%] Building C object
> libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/layouts_xkb.c.o
> cd 
> /home/incubus/Projects/bsd/ports/net/freerdp/work/FreeRDP-FreeRDP-cd43ba1/libfreerdp-kbd
 It builds with the next patch:

$ cat files/patch-cmake_FindXKBFile.cmake
--- cmake/FindXKBFile.cmake.orig        2012-01-17 15:32:17.000000000 +1000
+++ cmake/FindXKBFile.cmake     2012-01-17 15:32:57.000000000 +1000
@@ -28,13 +28,17 @@
 # limitations under the License.
 #=============================================================================

+find_package(PkgConfig)
+pkg_check_modules(PC_XKBFILE xkbfile)
+
 find_path(XKBFILE_INCLUDE_DIR NAMES XKBfile.h
-          PATH_SUFFIXES X11/extensions
+          HINTS ${PC_XKBFILE_INCLUDEDIR} ${PC_XKBFILE_INCLUDE_DIRS}
           DOC "The XKBFile include directory"
 )

 find_library(XKBFILE_LIBRARY NAMES xkbfile
           DOC "The XKBFile library"
+          HINTS ${PC_XKBFILE_LIBDIR} ${PC_XKBFILE_LIBRARY_DIRS}
 )

 include(FindPackageHandleStandardArgs)


 I'm really sorry for the noise.

-- 
Best regards,
Alexander

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to