pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Use standard way to test for options.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e7247fab61c
branches:  trunk
changeset: 356437:9e7247fab61c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Dec 31 09:39:31 2016 +0000

description:
Use standard way to test for options.

diffstat:

 devel/kyua/Makefile          |  4 ++--
 devel/lutok/Makefile         |  4 ++--
 sysutils/sysbuild/Makefile   |  4 ++--
 sysutils/sysupgrade/Makefile |  4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 6017cc2cce73 -r 9e7247fab61c devel/kyua/Makefile
--- a/devel/kyua/Makefile       Sat Dec 31 09:26:31 2016 +0000
+++ b/devel/kyua/Makefile       Sat Dec 31 09:39:31 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2016/12/04 05:17:24 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2016/12/31 09:39:31 wiz Exp $
 
 DISTNAME=      kyua-0.13
 PKGREVISION=   1
@@ -30,7 +30,7 @@
 
 .include "../../mk/bsd.options.mk"
 
-.if $(PKG_OPTIONS:Mtests)
+.if !empty(PKG_OPTIONS:Mtests)
 .  include "../../devel/atf/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-atf
 PLIST_SUBST+=          TESTS=
diff -r 6017cc2cce73 -r 9e7247fab61c devel/lutok/Makefile
--- a/devel/lutok/Makefile      Sat Dec 31 09:26:31 2016 +0000
+++ b/devel/lutok/Makefile      Sat Dec 31 09:39:31 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2014/10/19 22:27:45 alnsn Exp $
+# $NetBSD: Makefile,v 1.13 2016/12/31 09:39:31 wiz Exp $
 
 DISTNAME=      lutok-0.4
 PKGREVISION=   3
@@ -29,7 +29,7 @@
 
 .include "../../mk/bsd.options.mk"
 
-.if $(PKG_OPTIONS:Mtests)
+.if !empty(PKG_OPTIONS:Mtests)
 .  include "../../devel/atf/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-atf
 PLIST_SUBST+=          TESTS=
diff -r 6017cc2cce73 -r 9e7247fab61c sysutils/sysbuild/Makefile
--- a/sysutils/sysbuild/Makefile        Sat Dec 31 09:26:31 2016 +0000
+++ b/sysutils/sysbuild/Makefile        Sat Dec 31 09:39:31 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2016/02/01 03:21:30 jmmv Exp $
+# $NetBSD: Makefile,v 1.30 2016/12/31 09:39:31 wiz Exp $
 
 DISTNAME=      sysbuild-2.7
 PKGREVISION=   2
@@ -27,7 +27,7 @@
 
 .include "../../mk/bsd.options.mk"
 
-.if $(PKG_OPTIONS:Mtests)
+.if !empty(PKG_OPTIONS:Mtests)
 .  include "../../devel/atf/buildlink3.mk"
 PLIST_SUBST+=  TESTS=
 .else
diff -r 6017cc2cce73 -r 9e7247fab61c sysutils/sysupgrade/Makefile
--- a/sysutils/sysupgrade/Makefile      Sat Dec 31 09:26:31 2016 +0000
+++ b/sysutils/sysupgrade/Makefile      Sat Dec 31 09:39:31 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2014/10/09 14:07:00 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2016/12/31 09:39:31 wiz Exp $
 
 DISTNAME=      sysupgrade-1.5
 PKGREVISION=   1
@@ -30,7 +30,7 @@
 
 .include "../../mk/bsd.options.mk"
 
-.if $(PKG_OPTIONS:Mtests)
+.if !empty(PKG_OPTIONS:Mtests)
 .  include "../../devel/atf/buildlink3.mk"
 PLIST_SUBST+=  TESTS=
 .else



Home | Main Index | Thread Index | Old Index