summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2014-08-22 17:24:28 +0000
committertron <tron>2014-08-22 17:24:28 +0000
commitc6f17734e15afc49423ae7f2ef0a225b567af2a5 (patch)
treef1068950734959b8fb5bd3830e62fa6d45cffed3 /mk
parent1d8548f972e500022be3b56da8646bd354f76664 (diff)
downloadpkgsrc-c6f17734e15afc49423ae7f2ef0a225b567af2a5.tar.gz
Default to Suse 13.1 packages under NetBSD 7.0_BETA and newer.
Diffstat (limited to 'mk')
-rw-r--r--mk/emulator/linux.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/mk/emulator/linux.mk b/mk/emulator/linux.mk
index ef075478255..2b3e1c63d35 100644
--- a/mk/emulator/linux.mk
+++ b/mk/emulator/linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: linux.mk,v 1.25 2014/04/17 00:08:34 wiz Exp $
+# $NetBSD: linux.mk,v 1.26 2014/08/22 17:24:28 tron Exp $
#
# Linux binary emulation framework
#
@@ -11,9 +11,13 @@ EMUL_TYPE.linux?= none
. endif
.else
-# NetBSD 6 or later default to 12.1, otherwise 10.0
+# Pick appropriate SuSE Linux version for NetBSD amd64 and i386.
.if ${OPSYS} == "NetBSD" && ${EMUL_ARCH} != "powerpc"
-. if empty(OS_VERSION:M[0-5].*)
+# Use 13.1 under NetBSD 7.* and newer,
+. if empty(OS_VERSION:M[0-6].*)
+SUSE_PREFER?= 13.1
+# 12.1 under NetBSD 6.*, and 10.0 otherwise.
+. elif empty(OS_VERSION:M[0-5].*)
SUSE_PREFER?= 12.1
. endif
.endif