pkgsrc/lang/spidermonkey/buildlink3.mk
joerg 5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00

29 lines
917 B
Makefile

# $NetBSD: buildlink3.mk,v 1.11 2006/12/12 21:52:36 joerg Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SPIDERMONKEY_BUILDLINK3_MK:= ${SPIDERMONKEY_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= spidermonkey
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nspidermonkey}
BUILDLINK_PACKAGES+= spidermonkey
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}spidermonkey
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(SPIDERMONKEY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.spidermonkey+= spidermonkey>=1.5
.if ${OPSYS} == "Darwin"
BUILDLINK_ABI_DEPENDS.spidermonkey?= spidermonkey>=1.5nb6
.else
BUILDLINK_ABI_DEPENDS.spidermonkey?= spidermonkey>=1.5nb8
.endif
BUILDLINK_PKGSRCDIR.spidermonkey?= ../../lang/spidermonkey
.endif # SPIDERMONKEY_BUILDLINK3_MK
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/nspr/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}