summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-04-09 02:06:53 +0000
committerhubertf <hubertf@pkgsrc.org>1999-04-09 02:06:53 +0000
commitd8d65788d710a81f7e60d5b1e500c24ba7ef08f0 (patch)
tree4fced1c1e13e43ed351377238a5875920c953ff0 /mk
parent48d1b9cb27d51d042fbc766cb5e37a8faae5c1a0 (diff)
downloadpkgsrc-d8d65788d710a81f7e60d5b1e500c24ba7ef08f0.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)