pkgsrc-WIP-changes archive

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

wip/zbar: Fix build.



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Tue Feb 26 17:06:18 2019 +0000
Changeset:	8148734daa17024bbc5b0ddef7dc238b8d52e5a7

Modified Files:
	zbar/Makefile
Added Files:
	zbar/buildlink3.mk

Log Message:
wip/zbar: Fix build.

* Add glib2, pcre, liblqr bl3 to Makefile to make it build.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8148734daa17024bbc5b0ddef7dc238b8d52e5a7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zbar/Makefile      |  3 +++
 zbar/buildlink3.mk | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)

diffs:
diff --git a/zbar/Makefile b/zbar/Makefile
index 3b4f21654f..bb670c7975 100644
--- a/zbar/Makefile
+++ b/zbar/Makefile
@@ -38,4 +38,7 @@ PYTHON_FOR_BUILD_ONLY=	yes
 .include "../../lang/python/application.mk"
 
 .include "options.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../graphics/liblqr/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/zbar/buildlink3.mk b/zbar/buildlink3.mk
new file mode 100644
index 0000000000..5fab0734b9
--- /dev/null
+++ b/zbar/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	zbar
+
+.if !defined(ZBAR_BUILDLINK3_MK)
+ZBAR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.zbar+=	zbar>=0.10
+BUILDLINK_PKGSRCDIR.zbar?=	../../wip/zbar
+
+pkgbase:=	zbar
+.include "../../mk/pkg-build-options.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../graphics/liblqr/buildlink3.mk"
+.endif # ZBAR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-zbar


Home | Main Index | Thread Index | Old Index