diff options
author | obache <obache> | 2012-06-16 14:21:25 +0000 |
---|---|---|
committer | obache <obache> | 2012-06-16 14:21:25 +0000 |
commit | 58cdafe87686fad7f29cb266a374ee1c039bf963 (patch) | |
tree | bed22905d5fc319b79650891ad7124b71cf024c4 /mk/emulator/linux.mk | |
parent | 49aa0d1bf202aca3dea17962cd53404b6f10d546 (diff) | |
download | pkgsrc-58cdafe87686fad7f29cb266a374ee1c039bf963.tar.gz |
switch to SUSE_PREFER=12.1 for NetBSD>=6.
Diffstat (limited to 'mk/emulator/linux.mk')
-rw-r--r-- | mk/emulator/linux.mk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/mk/emulator/linux.mk b/mk/emulator/linux.mk index 51c094d6d53..a7d4ea16972 100644 --- a/mk/emulator/linux.mk +++ b/mk/emulator/linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: linux.mk,v 1.17 2012/04/18 06:17:24 obache Exp $ +# $NetBSD: linux.mk,v 1.18 2012/06/16 14:21:25 obache Exp $ # # Linux binary emulation framework # @@ -12,14 +12,15 @@ EMUL_TYPE.linux?= none .else # NetBSD 5.99.50 or later default to 11.3, otherwise 10.0 -.if ${OPSYS} == "NetBSD" && ${EMUL_ARCH} != "powerpc" && \ - (empty(OS_VERSION:M[0-5].*) || \ - !empty(OS_VERSION:M5.99.[5-9][0-9]) || \ - !empty(OS_VERSION:M5.99.[0-9][0-9][0-9]*)) +.if ${OPSYS} == "NetBSD" && ${EMUL_ARCH} != "powerpc" +. if empty(OS_VERSION:M[0-5].*) +SUSE_PREFER?= 12.1 +. elif !empty(OS_VERSION:M5.99.[5-9][0-9]) || \ + !empty(OS_VERSION:M5.99.[0-9][0-9][0-9]*) SUSE_PREFER?= 11.3 -.else -SUSE_PREFER?= 10.0 +. endif .endif +SUSE_PREFER?= 10.0 .for _version_ in ${EMUL_REQD:Msuse>=*:S/suse>=//} SUSE_VERSION_REQD?= ${_version_} |