pkgsrc/emulators/compat61/emulator.mk
spz 4d1aa92952 fix compat60 (and strip down a lot to a backward compatibility package
to NetBSD 6.1)
introduce compat61 (and compat61-x11 with it) as a backward compatibility
	package to NetBSD 7
add compat61* to mk/emulator/netbsd-compat.mk and emulators/Makefile

some sort of version for the binary compat packages might have been
useful, maybe abusing the DIST_SUBDIR? compat61 is likely to change
if/when NetBSD 6.2 is released
2015-05-03 15:01:11 +00:00

29 lines
753 B
Makefile

# $NetBSD: emulator.mk,v 1.1 2015/05/03 15:01:12 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.1
EMUL_EXEC_FMT= ELF
EMULSUBDIR= emul/netbsd
OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
.if empty(OS_VERSION:M[0-5].*) && empty(OS_VERSION:M6.1*)
DEPENDS_netbsd-6.1.base?= compat61>=6.1:../../emulators/compat61
.endif