summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-12-31 09:39:31 +0000
committerwiz <wiz@pkgsrc.org>2016-12-31 09:39:31 +0000
commitd291e1ec2f00fc0f9bf910922c9f49fda67a7d91 (patch)
tree81e17373f083f156c5c8624d6b8f91c9476bafb8 /sysutils
parentb0d1e2ee678aa0c30500c108e6c96766442fc38d (diff)
downloadpkgsrc-d291e1ec2f00fc0f9bf910922c9f49fda67a7d91.tar.gz
Use standard way to test for options.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/sysbuild/Makefile4
-rw-r--r--sysutils/sysupgrade/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/sysbuild/Makefile b/sysutils/sysbuild/Makefile
index 4b559e76d8b..31f137d3b4d 100644
--- a/sysutils/sysbuild/Makefile
+++ b/sysutils/sysbuild/Makefile
@@ -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
diff --git a/sysutils/sysupgrade/Makefile b/sysutils/sysupgrade/Makefile
index 93f2fd84984..6cfe545218d 100644
--- a/sysutils/sysupgrade/Makefile
+++ b/sysutils/sysupgrade/Makefile
@@ -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