pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Oct 14 07:58:24 UTC 2024

Modified Files:
        pkgsrc/mk: bsd.prefs.mk

Log Message:
mk: Use !empty() rather than defined() in previous.

Differs from the setup of others, but is consistent with other places where
mktool is used, to allow it to be disabled on the command line.


To generate a diff of this commit:
cvs rdiff -u -r1.452 -r1.453 pkgsrc/mk/bsd.prefs.mk

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

Modified files:

Index: pkgsrc/mk/bsd.prefs.mk
diff -u pkgsrc/mk/bsd.prefs.mk:1.452 pkgsrc/mk/bsd.prefs.mk:1.453
--- pkgsrc/mk/bsd.prefs.mk:1.452        Mon Oct 14 07:53:56 2024
+++ pkgsrc/mk/bsd.prefs.mk      Mon Oct 14 07:58:24 2024
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.452 2024/10/14 07:53:56 jperkin Exp $
+# $NetBSD: bsd.prefs.mk,v 1.453 2024/10/14 07:58:24 jperkin Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -836,7 +836,7 @@ USE_TOOLS+= awk:pkgsrc cut:pkgsrc echo:p
 .include "${_PKGSRC_TOPDIR}/mk/tools/defaults.mk"
 
 .if ${FETCH_USING} == "auto"
-.  if defined(TOOLS_PLATFORM.mktool)
+.  if !empty(TOOLS_PLATFORM.mktool)
 FETCH_USING=   mktool
 .  elif defined(TOOLS_PLATFORM.fetch)
 FETCH_USING=   fetch



Home | Main Index | Thread Index | Old Index