pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/opencv opencv: Conditionally include jasper i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8138b12e2c53
branches:  trunk
changeset: 336512:8138b12e2c53
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jul 16 15:39:35 2019 +0000

description:
opencv: Conditionally include jasper in buildlink3

diffstat:

 graphics/opencv/buildlink3.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 53b2d88eba60 -r 8138b12e2c53 graphics/opencv/buildlink3.mk
--- a/graphics/opencv/buildlink3.mk     Tue Jul 16 15:36:02 2019 +0000
+++ b/graphics/opencv/buildlink3.mk     Tue Jul 16 15:39:35 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2019/04/24 19:34:44 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2019/07/16 15:39:35 nia Exp $
 
 BUILDLINK_TREE+=       opencv
 
@@ -8,9 +8,12 @@
 BUILDLINK_API_DEPENDS.opencv+= opencv>=3.0.0
 BUILDLINK_PKGSRCDIR.opencv?=   ../../graphics/opencv
 
+.include "../../mk/pkg-build-options.mk"
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/jasper/buildlink3.mk"
+.if !empty(PKG_BUILD_OPTIONS.opencv:Mjasper)
+.  include "../../graphics/jasper/buildlink3.mk"
+.endif
 .include "../../graphics/libwebp/buildlink3.mk"
 .include "../../graphics/openexr/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index