2013-07-15 04:02:17 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.17 2013/07/15 02:02:24 ryoon Exp $
|
2006-01-27 20:47:21 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= spidermonkey
|
2006-01-27 20:47:21 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(SPIDERMONKEY_BUILDLINK3_MK)
|
|
|
|
SPIDERMONKEY_BUILDLINK3_MK:=
|
2006-01-27 20:47:21 +01:00
|
|
|
|
2006-12-12 22:52:34 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
2006-12-09 01:22:00 +01:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.spidermonkey+= spidermonkey>=1.5
|
2006-12-05 19:04:18 +01:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2012-05-07 03:53:12 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.spidermonkey+= spidermonkey>=1.8.0rc1nb3
|
2006-12-05 19:04:18 +01:00
|
|
|
.else
|
2012-05-07 03:53:12 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.spidermonkey+= spidermonkey>=1.5nb8
|
2006-12-05 19:04:18 +01:00
|
|
|
.endif
|
2006-01-27 20:47:21 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.spidermonkey?= ../../lang/spidermonkey
|
|
|
|
|
2013-07-15 04:02:17 +02:00
|
|
|
.include "../../mk/readline.buildlink3.mk"
|
2011-01-01 15:03:42 +01:00
|
|
|
|
|
|
|
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
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # SPIDERMONKEY_BUILDLINK3_MK
|
2006-12-03 11:11:49 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -spidermonkey
|