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:   wiz
Date:           Wed May 17 09:44:11 UTC 2023

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

Log Message:
mk: switch default distfile download backend from ftp to fetch

if no native tool is available, net/fetch will now be used instead of
net/tnftp

As discussed on pkgsrc-users


To generate a diff of this commit:
cvs rdiff -u -r1.429 -r1.430 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.429 pkgsrc/mk/bsd.prefs.mk:1.430
--- pkgsrc/mk/bsd.prefs.mk:1.429        Wed Nov 23 11:59:08 2022
+++ pkgsrc/mk/bsd.prefs.mk      Wed May 17 09:44:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.429 2022/11/23 11:59:08 jperkin Exp $
+# $NetBSD: bsd.prefs.mk,v 1.430 2023/05/17 09:44:11 wiz Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -701,14 +701,14 @@ USE_TOOLS+=       awk:pkgsrc cut:pkgsrc echo:p
 .include "${_PKGSRC_TOPDIR}/mk/tools/defaults.mk"
 
 .if ${FETCH_USING} == "auto"
-.  if defined(TOOLS_PLATFORM.fetch)
-FETCH_USING=   fetch
+.  if defined(TOOLS_PLATFORM.ftp)
+FETCH_USING=   ftp
 .  elif defined(TOOLS_PLATFORM.curl)
 FETCH_USING=   curl
 .  elif defined(TOOLS_PLATFORM.wget)
 FETCH_USING=   wget
 .  else
-FETCH_USING=   ftp
+FETCH_USING=   fetch
 .  endif
 .endif
 



Home | Main Index | Thread Index | Old Index