pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Dec 31 09:39:31 UTC 2016

Modified Files:
        pkgsrc/devel/kyua: Makefile
        pkgsrc/devel/lutok: Makefile
        pkgsrc/sysutils/sysbuild: Makefile
        pkgsrc/sysutils/sysupgrade: Makefile

Log Message:
Use standard way to test for options.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/kyua/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/lutok/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/sysutils/sysbuild/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/sysupgrade/Makefile

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

Modified files:

Index: pkgsrc/devel/kyua/Makefile
diff -u pkgsrc/devel/kyua/Makefile:1.11 pkgsrc/devel/kyua/Makefile:1.12
--- pkgsrc/devel/kyua/Makefile:1.11     Sun Dec  4 05:17:24 2016
+++ pkgsrc/devel/kyua/Makefile  Sat Dec 31 09:39:31 2016
@@ -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 @@ PKG_SYSCONFSUBDIR=    kyua
 
 .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=

Index: pkgsrc/devel/lutok/Makefile
diff -u pkgsrc/devel/lutok/Makefile:1.12 pkgsrc/devel/lutok/Makefile:1.13
--- pkgsrc/devel/lutok/Makefile:1.12    Sun Oct 19 22:27:45 2014
+++ pkgsrc/devel/lutok/Makefile Sat Dec 31 09:39:31 2016
@@ -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 @@ PKGCONFIG_OVERRIDE=   lutok.pc.in
 
 .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=

Index: pkgsrc/sysutils/sysbuild/Makefile
diff -u pkgsrc/sysutils/sysbuild/Makefile:1.29 pkgsrc/sysutils/sysbuild/Makefile:1.30
--- pkgsrc/sysutils/sysbuild/Makefile:1.29      Mon Feb  1 03:21:30 2016
+++ pkgsrc/sysutils/sysbuild/Makefile   Sat Dec 31 09:39:31 2016
@@ -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 @@ PKG_SUGGESTED_OPTIONS=        tests
 
 .include "../../mk/bsd.options.mk"
 
-.if $(PKG_OPTIONS:Mtests)
+.if !empty(PKG_OPTIONS:Mtests)
 .  include "../../devel/atf/buildlink3.mk"
 PLIST_SUBST+=  TESTS=
 .else

Index: pkgsrc/sysutils/sysupgrade/Makefile
diff -u pkgsrc/sysutils/sysupgrade/Makefile:1.9 pkgsrc/sysutils/sysupgrade/Makefile:1.10
--- pkgsrc/sysutils/sysupgrade/Makefile:1.9     Thu Oct  9 14:07:00 2014
+++ pkgsrc/sysutils/sysupgrade/Makefile Sat Dec 31 09:39:31 2016
@@ -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 @@ PKG_SUGGESTED_OPTIONS=        tests
 
 .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