diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-21 13:54:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-21 13:54:26 +0000 |
commit | 90db16ee98f56565a501874e894d5972362899e2 (patch) | |
tree | 98baa65d8d8688d76353e57dd67b1a650d47eef2 /mk/install | |
parent | 1f31f2a5bb6379d7540bcf54ee21c5701ce92ead (diff) | |
download | pkgsrc-90db16ee98f56565a501874e894d5972362899e2.tar.gz |
Only set BINPKG_SITES to ftp.netbsd.org, if the OS is actually NetBSD.
Diffstat (limited to 'mk/install')
-rw-r--r-- | mk/install/bin-install.mk | 6 |
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 |