sci-chemistry/openbabel-perl: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Mon, 30 Jan 2017 17:52:25 +0000 (18:52 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 31 Jan 2017 08:41:24 +0000 (09:41 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3730

sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.0-makefile.patch [deleted file]
sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.0-swig.patch [deleted file]
sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.patch [deleted file]

diff --git a/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.0-makefile.patch b/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.0-makefile.patch
deleted file mode 100644 (file)
index 597c9a7..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
- scripts/CMakeLists.txt   |    2 +-
- scripts/perl/Makefile.PL |    1 +
- 2 files changed, 2 insertions(+), 1 deletions(-)
-
-diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
-index bf2527b..3c45111 100644
---- a/scripts/CMakeLists.txt
-+++ b/scripts/CMakeLists.txt
-@@ -223,7 +223,7 @@ if (DO_PERL_BINDINGS)
-         COMMAND ${CMAKE_COMMAND} -E copy ${openbabel_SOURCE_DIR}/scripts/perl/Makefile.PL ${openbabel_BINARY_DIR}/scripts/perl
-         COMMAND ${CMAKE_COMMAND} -E copy ${openbabel_SOURCE_DIR}/scripts/perl/OpenBabel.pm ${openbabel_BINARY_DIR}/scripts/perl
-         COMMAND ${CMAKE_COMMAND} -E copy ${openbabel_SOURCE_DIR}/scripts/perl/openbabel-perl.cpp ${openbabel_BINARY_DIR}/scripts/perl
--        COMMAND PERL5LIB=${openbabel_SOURCE_DIR}/scripts/perl/inc SRC_DIR=${openbabel_SOURCE_DIR} OBJ_DIR=${openbabel_BINARY_DIR} ${PERL_EXECUTABLE} ${openbabel_BINARY_DIR}/scripts/perl/Makefile.PL ${PERL_PREFIX_TEXT}
-+        COMMAND PERL5LIB=${openbabel_SOURCE_DIR}/scripts/perl/inc SRC_DIR=${openbabel_SOURCE_DIR} OBJ_DIR=${openbabel_BINARY_DIR} ${PERL_EXECUTABLE} ${openbabel_BINARY_DIR}/scripts/perl/Makefile.PL INSTALLDIRS=vendor ${PERL_PREFIX_TEXT}
-         COMMAND PERL5LIB=${openbabel_SOURCE_DIR}/scripts/perl/inc make 
-             DEPENDS ${openbabel_SOURCE_DIR}/scripts/perl/openbabel-perl.cpp
-             WORKING_DIRECTORY ${openbabel_BINARY_DIR}/scripts/perl
-diff --git a/scripts/perl/Makefile.PL b/scripts/perl/Makefile.PL
-index a3a2116..44ad27d 100644
---- a/scripts/perl/Makefile.PL
-+++ b/scripts/perl/Makefile.PL
-@@ -32,5 +32,6 @@ WriteMakefile(
-     'CC'        => $CC,
-     'LD'        => '$(CC)',
-     'INC'       => '-I../../include -I'.$cmakesrcdir.'/include',
-+    'DESTDIR'   => @ENV{"D"},
-     'OBJECT'    => 'openbabel-perl.o'
- );
diff --git a/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.0-swig.patch b/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.0-swig.patch
deleted file mode 100644 (file)
index 6beacf7..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
- 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)
- ###################
diff --git a/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.patch b/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.patch
deleted file mode 100644 (file)
index 88248b4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
---- scripts/perl/Makefile.PL
-+++ scripts/perl/Makefile.PL
-@@ -37,5 +37,6 @@     'LDFROM'    => $ldfrom,
-     'CC'        => $CC,
-     'LD'        => '$(CC)',
-     'INC'       => '-I../../include -I'.$cmakesrcdir.'/include',
-+    'DESTDIR'   => @ENV{"D"},
-     'OBJECT'    => 'openbabel-perl.o'
- );