$OpenBSD: patch-cmake_modules_FindNeon_cmake,v 1.1 2012/01/03 14:08:12 dcoppa Exp $ --- cmake/modules/FindNeon.cmake.orig Tue Jan 3 13:13:58 2012 +++ cmake/modules/FindNeon.cmake Tue Jan 3 13:15:44 2012 @@ -1,14 +1,14 @@ -INCLUDE(UsePkgConfig) -PKGCONFIG(neon _NeonIncDir _NeonLinkDir _NeonLinkFlags _NeonCflags) +FIND_PACKAGE(PkgConfig) +PKG_CHECK_MODULES(_Neon neon) FIND_PATH(NEON_INCLUDE_DIR ne_request.h - ${_NeonIncDir} + ${_Neon_INCLUDE_DIRS} /usr/include/neon /usr/local/include/neon ) FIND_LIBRARY(NEON_LIBRARIES neon - ${_NeonLinkDir} + ${_Neon_LIBRARY_DIRS} /usr/lib /usr/local/lib )