summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-21 13:54:26 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-21 13:54:26 +0000
commit90db16ee98f56565a501874e894d5972362899e2 (patch)
tree98baa65d8d8688d76353e57dd67b1a650d47eef2
parent1f31f2a5bb6379d7540bcf54ee21c5701ce92ead (diff)
downloadpkgsrc-90db16ee98f56565a501874e894d5972362899e2.tar.gz
Only set BINPKG_SITES to ftp.netbsd.org, if the OS is actually NetBSD.
-rw-r--r--mk/install/bin-install.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/install/bin-install.mk b/mk/install/bin-install.mk
index c645244ceba..39dade064ac 100644
--- a/mk/install/bin-install.mk
+++ b/mk/install/bin-install.mk
@@ -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