diff options
-rw-r--r-- | meta/packages/opensync/libopensync-0.36/no-python-check.patch | 18 | ||||
-rw-r--r-- | meta/packages/opensync/libopensync_0.36.bb | 5 |
2 files changed, 21 insertions, 2 deletions
diff --git a/meta/packages/opensync/libopensync-0.36/no-python-check.patch b/meta/packages/opensync/libopensync-0.36/no-python-check.patch new file mode 100644 index 0000000000..08a53cb9eb --- /dev/null +++ b/meta/packages/opensync/libopensync-0.36/no-python-check.patch @@ -0,0 +1,18 @@ +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/CMakeLists.txt ++++ libopensync-0.36/CMakeLists.txt +@@ -26,11 +26,10 @@ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BIN + + FIND_PACKAGE( GLIB2 REQUIRED ) + FIND_PACKAGE( Sqlite3 REQUIRED ) + FIND_PACKAGE( LibXml2 REQUIRED ) + FIND_PACKAGE( SWIG ) +-FIND_PACKAGE( PythonLibs ) + FIND_PACKAGE( Check ) + + ADD_SUBDIRECTORY( opensync ) + ADD_SUBDIRECTORY( formats ) + ADD_SUBDIRECTORY( tools ) diff --git a/meta/packages/opensync/libopensync_0.36.bb b/meta/packages/opensync/libopensync_0.36.bb index 9fad1b3031..f41cf89b5f 100644 --- a/meta/packages/opensync/libopensync_0.36.bb +++ b/meta/packages/opensync/libopensync_0.36.bb @@ -1,11 +1,12 @@ LICENSE = "LGPL" HOMEPAGE = "http://www.opensync.org/" -DEPENDS = "sqlite3 libxml2 glib-2.0" +DEPENDS = "sqlite3 libxml2 glib-2.0 check" SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ file://cmake.patch;patch=1 \ - file://build-in-src.patch;patch=1" + file://build-in-src.patch;patch=1 \ + file://no-python-check.patch;patch=1" inherit cmake pkgconfig |