summaryrefslogtreecommitdiff
path: root/emulators/compat60/emulator.mk
diff options
context:
space:
mode:
authorspz <spz>2013-02-17 17:24:07 +0000
committerspz <spz>2013-02-17 17:24:07 +0000
commitbbe98a21750e9f3e02dd18f361a3587eb55db60c (patch)
tree1a6d8d01506810e290b364b09187d373d044dca5 /emulators/compat60/emulator.mk
parentb6a494dd9c6a36358de7e3e7bd906ce6c4b3b4c7 (diff)
downloadpkgsrc-bbe98a21750e9f3e02dd18f361a3587eb55db60c.tar.gz
NetBSD compat packages. They chain each other so if you're on NetBSD-6.0
and want NetBSD-5.0 compatibility, compat50 will depend on compat51 to bridge the gap. There is currently no need for a compat52, nor for a compat60-x11. The compat tarballs may be larger than strictly necessary. Testing was 'lightly', so there's probably Room for Improvement (tm).
Diffstat (limited to 'emulators/compat60/emulator.mk')
-rw-r--r--emulators/compat60/emulator.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/emulators/compat60/emulator.mk b/emulators/compat60/emulator.mk
new file mode 100644
index 00000000000..e44486edb59
--- /dev/null
+++ b/emulators/compat60/emulator.mk
@@ -0,0 +1,29 @@
+# $NetBSD: emulator.mk,v 1.1 2013/02/17 17:24:09 spz Exp $
+#
+# This file is included by netbsd-compat.mk in the emulator framework.
+#
+# Variables set by this file:
+#
+# EMUL_DISTRO
+# The NetBSD distribution used to provide the files.
+#
+# EMUL_EXEC_FMT
+# The executable format of the emulated operating system.
+#
+# EMULSUBDIR
+# Path relative to ${PREFIX} where the files and directories are
+# located, e.g. emul/aout.
+#
+# DEPENDS_${EMUL_DISTRO}.*
+# A table that maps "modules" to NetBSD package dependencies.
+#
+
+EMUL_DISTRO= netbsd-6.0
+
+EMUL_EXEC_FMT= ELF
+EMULSUBDIR= emul/netbsd
+OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
+
+.if empty(OS_VERSION:M[0-5].*) && empty(OS_VERSION:M6.0*)
+DEPENDS_netbsd-6.0.base?= compat60>=6.0:../../emulators/compat60
+.endif