diff options
Diffstat (limited to 'net-libs/rabbitmq-c/files')
-rw-r--r-- | net-libs/rabbitmq-c/files/xmlto.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-libs/rabbitmq-c/files/xmlto.patch b/net-libs/rabbitmq-c/files/xmlto.patch new file mode 100644 index 000000000000..b1b97edd2edd --- /dev/null +++ b/net-libs/rabbitmq-c/files/xmlto.patch @@ -0,0 +1,25 @@ +--- CMakeLists.txt.orig 2013-01-19 02:58:22.179338944 -0700 ++++ CMakeLists.txt 2013-01-19 03:18:40.936984417 -0700 +@@ -49,6 +49,7 @@ + include(CheckFunctionExists) + include(CheckLibraryExists) + include(CMakePushCheckState) ++include(FindXmlTo) + + # Detect if we need to link against a socket library: + cmake_push_check_state() +@@ -195,7 +196,13 @@ + endif (REGENERATE_AMQP_FRAMING) + + find_package(POPT) +-find_package(XmlTo) ++ ++set ( XmlTo_FOUND false ) ++find_program ( XMLTO_EXECUTABLE NAMES xmlto ++ DOC "path to the xmlto docbook xslt frontend" ) ++if ( XMLTO_EXECUTABLE ) ++ set ( XmlTo_FOUND true ) ++endif ( XMLTO_EXECUTABLE ) + + if (POPT_FOUND AND XmlTo_FOUND) + set(DO_DOCS ON) |