summaryrefslogtreecommitdiff
path: root/mk/emulator/linux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/emulator/linux.mk')
-rw-r--r--mk/emulator/linux.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/mk/emulator/linux.mk b/mk/emulator/linux.mk
index 54224bd0031..ecd812f8ed4 100644
--- a/mk/emulator/linux.mk
+++ b/mk/emulator/linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: linux.mk,v 1.8 2011/02/27 15:54:03 chs Exp $
+# $NetBSD: linux.mk,v 1.9 2011/09/06 17:48:24 abs Exp $
#
# Linux binary emulation framework
#
@@ -6,7 +6,13 @@
.if ${OPSYS} == "Linux"
EMUL_TYPE.linux?= native
.else
-EMUL_TYPE.linux?= suse-${SUSE_PREFER}
+
+.for _version_ in ${EMUL_REQD:Msuse>=*:S/suse>=//}
+SUSE_VERSION_REQD?= ${_version_}
+.endfor
+SUSE_VERSION_REQD?= ${SUSE_PREFER}
+
+EMUL_TYPE.linux?= suse-${SUSE_VERSION_REQD}
.endif
EMUL_MODULES.linux?= # empty