pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/opencv
Module Name: pkgsrc
Committed By: nia
Date: Tue Jul 16 15:39:35 UTC 2019
Modified Files:
pkgsrc/graphics/opencv: buildlink3.mk
Log Message:
opencv: Conditionally include jasper in buildlink3
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/opencv/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/opencv/buildlink3.mk
diff -u pkgsrc/graphics/opencv/buildlink3.mk:1.3 pkgsrc/graphics/opencv/buildlink3.mk:1.4
--- pkgsrc/graphics/opencv/buildlink3.mk:1.3 Wed Apr 24 19:34:44 2019
+++ pkgsrc/graphics/opencv/buildlink3.mk Tue Jul 16 15:39:35 2019
@@ -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 @@ OPENCV_BUILDLINK3_MK:=
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