Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/zbar zbar: Simplify PKG_BUILD_OPTIONS check i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e112aa15268c
branches:  trunk
changeset: 434663:e112aa15268c
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Jun 20 10:43:43 2020 +0000

description:
zbar: Simplify PKG_BUILD_OPTIONS check in bl3

Pointed out by pkglint.

diffstat:

 graphics/zbar/buildlink3.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 59661e353b3b -r e112aa15268c graphics/zbar/buildlink3.mk
--- a/graphics/zbar/buildlink3.mk       Sat Jun 20 10:42:55 2020 +0000
+++ b/graphics/zbar/buildlink3.mk       Sat Jun 20 10:43:43 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2019/12/04 11:17:32 leot Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2020/06/20 10:43:43 leot Exp $
 
 BUILDLINK_TREE+=       zbar
 
@@ -11,7 +11,7 @@
 pkgbase:=      zbar
 .include "../../mk/pkg-build-options.mk"
 
-.if !empty(PKG_BUILD_OPTIONS.zbar:Mx11)
+.if ${PKG_BUILD_OPTIONS.zbar:Mx11}
 .include "../../x11/libICE/buildlink3.mk"
 .include "../../x11/libSM/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"



Home | Main Index | Thread Index | Old Index