public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-libs/rabbitmq-c/files: xmlto.patch
@ 2013-03-14 18:50 Ole Markus With (olemarkus)
  0 siblings, 0 replies; only message in thread
From: Ole Markus With (olemarkus) @ 2013-03-14 18:50 UTC (permalink / raw
  To: gentoo-commits

olemarkus    13/03/14 18:50:35

  Added:                xmlto.patch
  Log:
  New package. Thanks to Travis Hansen. Bug 433503
  
  (Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5)

Revision  Changes    Path
1.1                  net-libs/rabbitmq-c/files/xmlto.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rabbitmq-c/files/xmlto.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/rabbitmq-c/files/xmlto.patch?rev=1.1&content-type=text/plain

Index: xmlto.patch
===================================================================
--- 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)





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-14 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-14 18:50 [gentoo-commits] gentoo-x86 commit in net-libs/rabbitmq-c/files: xmlto.patch Ole Markus With (olemarkus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox