openbsd-ports/audio/libmusicbrainz/patches/patch-cmake_modules_FindNeon_cmake
dcoppa 8dd0483ec6 Make cmake stop shouting about obsolete macro during configure
stage. Also, do not check for libdiscid, since it's not in our
ports tree.

no pkg change, no bump

ok aja@ and shadchin@
2012-01-03 14:08:12 +00:00

23 lines
637 B
Plaintext

$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
)