pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/install Only set BINPKG_SITES to ftp.netbsd.org, if...
details: https://anonhg.NetBSD.org/pkgsrc/rev/987a3347145e
branches: trunk
changeset: 521785:987a3347145e
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Nov 21 13:54:26 2006 +0000
description:
Only set BINPKG_SITES to ftp.netbsd.org, if the OS is actually NetBSD.
diffstat:
mk/install/bin-install.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r bcdc63574537 -r 987a3347145e mk/install/bin-install.mk
--- a/mk/install/bin-install.mk Tue Nov 21 13:47:24 2006 +0000
+++ b/mk/install/bin-install.mk Tue Nov 21 13:54:26 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bin-install.mk,v 1.6 2006/11/03 08:01:04 joerg Exp $
+# $NetBSD: bin-install.mk,v 1.7 2006/11/21 13:54:26 joerg Exp $
#
# This file provides the following targets:
@@ -20,8 +20,12 @@
# List of sites carrying binary pkgs. Variables "rel" and "arch" are
# replaced with OS release ("1.5", ...) and architecture ("mipsel", ...)
+.if ${OPSYS} == "NetBSD"
BINPKG_SITES?= \
ftp://ftp.NetBSD.org/pub/NetBSD/packages/$${rel}/$${arch}
+.else
+BINPKG_SITES?=
+.endif
.PHONY: bin-install
.PHONY: do-bin-install do-bin-install-from-source
Home |
Main Index |
Thread Index |
Old Index