public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel-python/files: openbabel-python-2.3.0-swig.patch
@ 2011-03-28 19:25 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2011-03-28 19:25 UTC (permalink / raw
  To: gentoo-commits

jlec        11/03/28 19:25:28

  Added:                openbabel-python-2.3.0-swig.patch
  Log:
  Sane check for swig version, https://sourceforge.net/tracker/?func=detail&aid=3253693&group_id=40728&atid=428740
  
  (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-chemistry/openbabel-python/files/openbabel-python-2.3.0-swig.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/files/openbabel-python-2.3.0-swig.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/files/openbabel-python-2.3.0-swig.patch?rev=1.1&content-type=text/plain

Index: openbabel-python-2.3.0-swig.patch
===================================================================
 scripts/CMakeLists.txt |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index bf2527b..16feeb4 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -8,16 +8,12 @@ if (RUN_SWIG)
   # SWIG_EXECUTABLE - the path to the swig executable
   # SWIG_VERSION   - the version number of the swig executable
 
-  find_package(SWIG)
+  find_package(SWIG 2.0.0)
   if (NOT SWIG_FOUND)
     message(STATUS "SWIG NOT found")
     return()
   endif (NOT SWIG_FOUND)
   message(STATUS "SWIG version is ${SWIG_VERSION}")
-  if (NOT ${SWIG_VERSION} STREQUAL "2.0.0" AND NOT ${SWIG_VERSION} STREQUAL "2.0.1")
-    message(STATUS "SWIG version 2.0.0 exactly is required")
-    return()
-  endif (NOT ${SWIG_VERSION} STREQUAL "2.0.0" AND NOT ${SWIG_VERSION} STREQUAL "2.0.1")
 endif (RUN_SWIG)
 
 ###################






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

only message in thread, other threads:[~2011-03-28 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28 19:25 [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel-python/files: openbabel-python-2.3.0-swig.patch Justin Lecher (jlec)

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