Bug#869975: [opencv] bug in debian/rules -> it isn't compiled with OPENGL=ON

Jean Jacques BRUCKER jean-jacques.brucker at supersonicimagine.com
Fri Jul 28 10:21:32 UTC 2017


Source: opencv
Version: 2.4.9.1+dfsg1-2

There should be missing an "else" in debian/rules which implies
WITH_OPENGL is always ON for ubuntu (overriding previous if-else
statement) and always undefined for other distributions.

Here is the fix: 

--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,7 @@ CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
 else
 CMAKE_ARCH_FLAGS += -DWITH_OPENGL=OFF
 endif
+else
 CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
 endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 313 bytes
Desc: Signature digitale OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170728/5238f2e4/attachment.sig>


More information about the debian-science-maintainers mailing list