summaryrefslogtreecommitdiff
path: root/mk/emulator
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-18 06:17:24 +0000
committerobache <obache@pkgsrc.org>2012-04-18 06:17:24 +0000
commitd119732e4fb0bb5d27b02391b3c92004185ac88f (patch)
tree595664061adfe7958ee1bea4b35c6065078a31fa /mk/emulator
parent944194264fb62bf1ce3910281f34588b47bd3d2d (diff)
downloadpkgsrc-d119732e4fb0bb5d27b02391b3c92004185ac88f.tar.gz
Let not to prefer suse113 for powerpc, it is not supported.
Diffstat (limited to 'mk/emulator')
-rw-r--r--mk/emulator/linux.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/emulator/linux.mk b/mk/emulator/linux.mk
index 9602804406d..51c094d6d53 100644
--- a/mk/emulator/linux.mk
+++ b/mk/emulator/linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: linux.mk,v 1.16 2012/03/17 06:08:17 obache Exp $
+# $NetBSD: linux.mk,v 1.17 2012/04/18 06:17:24 obache Exp $
#
# Linux binary emulation framework
#
@@ -12,7 +12,8 @@ EMUL_TYPE.linux?= none
.else
# NetBSD 5.99.50 or later default to 11.3, otherwise 10.0
-.if ${OPSYS} == "NetBSD" && (empty(OS_VERSION:M[0-5].*) || \
+.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]*))
SUSE_PREFER?= 11.3