summaryrefslogtreecommitdiff
path: root/mk/emulator/darwin-opendarwin.mk
blob: 0ad79f43caeb3ac2ef1d855931438154ee1b9fec (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.1 2007/08/01 16:28:08 jlam 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