pkgsrc/emulators/compat50/emulator.mk
spz 2263a6dd41 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).
2013-02-17 17:24:07 +00:00

29 lines
754 B
Makefile

# $NetBSD: emulator.mk,v 1.1 2013/02/17 17:24:07 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-5.0
EMUL_EXEC_FMT= ELF
EMULSUBDIR= emul/netbsd
OPSYS_EMULDIR= ${_OPSYS_EMULDIR.netbsd}
.if empty(OS_VERSION:M[0-4].*) && empty(OS_VERSION:M5.0.*)
DEPENDS_netbsd-5.0.base?= compat50>=5.0:../../emulators/compat50
.endif