Package: opencv
Version: 2.4.8+dfsg1-2.2
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el

Dear Maintainer,

With the recent changes in tbb package, now it builds on ppc64el, so, we should
enable opencv to depend on tbb as the other architectures.

I just created this patch that add ppc64el as an arch that contains the
libtbb-dev package.

Thank you,
Breno

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: opencv-2.4.8+dfsg1/debian/control
===================================================================
--- opencv-2.4.8+dfsg1.orig/debian/control	2014-02-17 06:50:43.000000000 +0000
+++ opencv-2.4.8+dfsg1/debian/control	2014-07-07 13:40:38.000000000 +0000
@@ -18,7 +18,7 @@
  libv4l-dev [linux-any],
  zlib1g-dev (>= 1.2.5),
  liblapack-dev (>= 3.2.1),
- libtbb-dev [i386 amd64 ia64 powerpc ppc64],
+ libtbb-dev [i386 amd64 ia64 powerpc ppc64 ppc64el],
  libeigen3-dev,
  ocl-icd-opencl-dev,
  python-dev,
Index: opencv-2.4.8+dfsg1/debian/rules
===================================================================
--- opencv-2.4.8+dfsg1.orig/debian/rules	2014-02-16 23:40:46.000000000 +0000
+++ opencv-2.4.8+dfsg1/debian/rules	2014-07-07 13:41:42.000000000 +0000
@@ -13,7 +13,7 @@
 endif
 
 # TBB support
-ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64 ia64 powerpc ppc64))
+ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64 ia64 powerpc ppc64 ppc64el))
 CMAKE_ARCH_FLAGS += -DWITH_TBB=ON
 else
 CMAKE_ARCH_FLAGS += -DWITH_TBB=OFF

Reply via email to