summaryrefslogtreecommitdiff
path: root/mk/emulator/darwin-opendarwin.mk
blob: 7b4a9561bbe0d223e12f0e9726562df1f3cdab33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: darwin-opendarwin.mk,v 1.2 2018/10/08 20:13:35 rillig Exp $
#
# OpenDarwin
#

# EMUL_TYPE.darwin can be "opendarwin" or "opendarwin-[0-9]*".  If the
# former, then use the default OpenDarwin version, otherwise use the
# specific version requested.
#
.if !empty(EMUL_TYPE.darwin:Mopendarwin-6.x)
.  include "${PKGSRCDIR}/emulators/darwin_lib/emulator.mk"

.elif !empty(EMUL_TYPE.darwin:Mopendarwin)
# default to highest version of OpenDarwin
.  include "${PKGSRCDIR}/emulators/darwin_lib/emulator.mk"

.else
EMUL_DISTRO=		opendarwin-0
PKG_FAIL_REASON+=	"[darwin-opendarwin.mk] ${EMUL_TYPE.darwin} is not a supported EMUL_TYPE.darwin"
.endif