pkgsrc/lang/spidermonkey/buildlink3.mk
tron 562099cff4 Fix broken shared library build under Mac OS X. "avidemux2" (from the
"avidemux" package) now works with the "js" library provided by this
package. Bump package revision of this package.

Vital hint provided by Amitai Schlair in private e-mail.
2006-08-08 21:08:14 +00:00

24 lines
787 B
Makefile

# $NetBSD: buildlink3.mk,v 1.7 2006/08/08 21:08:14 tron 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
.if !empty(SPIDERMONKEY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.spidermonkey+= spidermonkey>=1.5
.if ${OPSYS} == "Darwin"
BUILDLINK_ABI_DEPENDS.spidermonkey?= spidermonkey>=1.5nb4
.else
BUILDLINK_ABI_DEPENDS.spidermonkey?= spidermonkey>=1.5nb1
.endif
BUILDLINK_PKGSRCDIR.spidermonkey?= ../../lang/spidermonkey
.endif # SPIDERMONKEY_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}