summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-04-09 02:06:53 +0000
committerhubertf <hubertf>1999-04-09 02:06:53 +0000
commit9a3692da07285fd74ddc0c0f9f30ddc725f534c3 (patch)
tree4fced1c1e13e43ed351377238a5875920c953ff0 /mk
parentfaf45623c22b42aac0bd40cd5e6de1137bf87c27 (diff)
downloadpkgsrc-9a3692da07285fd74ddc0c0f9f30ddc725f534c3.tar.gz
Move mirror-distfiles target around a bit so it can even be invoked
on platforms that are prohibited by ONLY_FOR_ARCH/OPSYS etc. so we can provide distfile-backups even for them.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk18
1 files changed, 10 insertions, 8 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index fffae142dd3..62d1b7d7b44 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.250 1999/04/08 18:43:42 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.251 1999/04/09 02:06:53 hubertf Exp $
#
# This file is in the public domain.
#
@@ -1014,13 +1014,6 @@ do-fetch:
.endif
.endif
-# This is for the use of sites which store distfiles which others may
-# fetch - only fetch the distfile if it is allowed to be
-# re-distributed freely
-mirror-distfiles:
-.if (${MIRROR_DISTFILE} == "yes")
- ${_PKG_SILENT}${_PKG_DEBUG}${MAKE} fetch __ARCH_OK=1 __OPSYS_OK=1 NO_IGNORE=yes
-.endif
# Extract
@@ -1595,6 +1588,15 @@ deinstall-depends: uptodate-pkgtools
# Some more targets supplied for users' convenience
################################################################
+# This is for the use of sites which store distfiles which others may
+# fetch - only fetch the distfile if it is allowed to be
+# re-distributed freely
+mirror-distfiles:
+.if (${MIRROR_DISTFILE} == "yes")
+ ${_PKG_SILENT}${_PKG_DEBUG}${MAKE} fetch __ARCH_OK=1 __OPSYS_OK=1 NO_IGNORE=yes
+.endif
+
+
# Cleaning up
.if !target(pre-clean)