From: "Justin Lecher (jlec)" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel-python/files: openbabel-python-2.3.0-swig.patch
Date: Mon, 28 Mar 2011 19:25:28 +0000 (UTC) [thread overview]
Message-ID: <20110328192528.726D720057@flycatcher.gentoo.org> (raw)
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)
###################
reply other threads:[~2011-03-28 19:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110328192528.726D720057@flycatcher.gentoo.org \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox