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/f333f708b911
branches:  trunk
changeset: 398330:f333f708b911
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 0ff610fd2943 -r f333f708b911 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