openbsd-ports/devel/cmake/patches/patch-Modules_FindXMLRPC_cmake
dcoppa 8b1b17cff8 Update to cmake 2.8.1 (I also take maintainership).
"This is good, commit." espie@
2010-05-28 20:21:48 +00:00

13 lines
500 B
Plaintext

$OpenBSD: patch-Modules_FindXMLRPC_cmake,v 1.2 2010/05/28 20:21:48 dcoppa Exp $
--- Modules/FindXMLRPC.cmake.orig Tue Apr 20 10:32:19 2010
+++ Modules/FindXMLRPC.cmake Tue Apr 20 10:37:39 2010
@@ -109,6 +109,8 @@ IF(XMLRPC_FOUND)
ENDIF("${flag}" MATCHES "^-L")
ENDFOREACH(flag)
+ SET(XMLRPC_LIBRARY_DIRS ${XMLRPC_LIBRARY_DIRS} "/usr/lib")
+
# Search for each library needed using the directories given.
FOREACH(name ${XMLRPC_LIBRARY_NAMES})
# Look for this library.