summaryrefslogtreecommitdiff
path: root/lang/spidermonkey/buildlink3.mk
blob: 982788386db3703e93792e6eeaf667f4eb3ba690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: buildlink3.mk,v 1.15 2012/03/06 17:38:57 ryoon Exp $

BUILDLINK_TREE+=	spidermonkey

.if !defined(SPIDERMONKEY_BUILDLINK3_MK)
SPIDERMONKEY_BUILDLINK3_MK:=

.include "../../mk/bsd.fast.prefs.mk"

BUILDLINK_API_DEPENDS.spidermonkey+=	spidermonkey>=1.5
.if ${OPSYS} == "Darwin"
BUILDLINK_ABI_DEPENDS.spidermonkey?=	spidermonkey>=1.8.0rc1nb3
.else
BUILDLINK_ABI_DEPENDS.spidermonkey?=	spidermonkey>=1.5nb8
.endif
BUILDLINK_PKGSRCDIR.spidermonkey?=	../../lang/spidermonkey

.include "../../devel/readline/buildlink3.mk"

pkgbase := spidermonkey
.include "../../mk/pkg-build-options.mk"

.if !empty(PKG_BUILD_OPTIONS.spidermonkey:Mthreads)
.  include "../../devel/nspr/buildlink3.mk"
.  include "../../mk/pthread.buildlink3.mk"
.endif
.endif # SPIDERMONKEY_BUILDLINK3_MK

BUILDLINK_TREE+=	-spidermonkey