diff options
author | wiz <wiz@pkgsrc.org> | 2011-01-01 14:03:42 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-01-01 14:03:42 +0000 |
commit | 0712d37ce3a1873d92f71dc6e26afe849346c971 (patch) | |
tree | 43e5dc7c8d877e6b0c436db3d8b739f69508dd4e /lang | |
parent | 0cf6a24677e8cb96c878cc1f60dce9e630f53ed8 (diff) | |
download | pkgsrc-0712d37ce3a1873d92f71dc6e26afe849346c971.tar.gz |
Only include nspr and threads bl3.mk files when threading is enabled;
otherwise they are not pulled in by the base package and the buildlink
step fails. (Broke avidemux.)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/spidermonkey/buildlink3.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lang/spidermonkey/buildlink3.mk b/lang/spidermonkey/buildlink3.mk index f6469970f25..7f4cc25aae0 100644 --- a/lang/spidermonkey/buildlink3.mk +++ b/lang/spidermonkey/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.13 2009/05/20 00:58:20 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.14 2011/01/01 14:03:42 wiz Exp $ BUILDLINK_TREE+= spidermonkey @@ -16,7 +16,14 @@ BUILDLINK_ABI_DEPENDS.spidermonkey?= spidermonkey>=1.5nb8 BUILDLINK_PKGSRCDIR.spidermonkey?= ../../lang/spidermonkey .include "../../devel/readline/buildlink3.mk" -.include "../../devel/nspr/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 |