diff options
author | mycroft <mycroft@pkgsrc.org> | 1999-07-27 07:09:48 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 1999-07-27 07:09:48 +0000 |
commit | b33f9daf4791a4fcfc1e39a3f15e892ef2f7f1af (patch) | |
tree | d72adc9f2204254ce3eff03e724d6a9a97ef9cfa /mk | |
parent | 60c066dec66cbd1884034c35ae92619fe3f79184 (diff) | |
download | pkgsrc-b33f9daf4791a4fcfc1e39a3f15e892ef2f7f1af.tar.gz |
Don't put a // in MASTER_SITE_BACKUP if DIST_SUBDIR is empty/undefined.
Yes, this is a hack.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 34a272ac872..c6deec066e6 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.303 1999/07/26 16:46:43 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.304 1999/07/27 07:09:48 mycroft Exp $ # # This file is in the public domain. # @@ -554,9 +554,15 @@ MASTER_SITES?= PATCH_SITES?= # The primary backup site. +.if defined(DIST_SUBDIR) MASTER_SITE_BACKUP?= \ ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/${DIST_SUBDIR}/ \ ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ +.else +MASTER_SITE_BACKUP?= \ + ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/ \ + ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ +.endif # Where to put distfiles that don't have any other master site MASTER_SITE_LOCAL?= \ |