pkgsrc/lang/spidermonkey/buildlink3.mk

30 lines
805 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.17 2013/07/15 02:02:24 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 "../../mk/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