474
474
JAVA_BUILD_INDEP :=, $(JAVA_BUILD_INDEP)
478
GO_BUILD_DEP := g++-4.6,
479
477
GO_BUILD_DEP := netbase,
479
# try to build with itself, or with the last version
480
gnat_build_dep := gnat-5 [$(ada_no_archs)] | gnat-4.9 [$(ada_no_archs)]
481
ifneq (,$(filter $(distrelease), wheezy precise trusty))
482
gnat_build_dep := gnat-5 [$(ada_no_archs)] | gnat [$(ada_no_archs)]
481
485
ifeq ($(PKGSOURCE),gcc-$(BASE_VERSION))
482
486
ifneq ($(with_separate_gnat),yes)
483
# Build gnat as part of the combiled gcc-x.y source package. Do not fail
487
# Build gnat as part of the combined gcc-x.y source package. Do not fail
484
488
# if gnat is not present on unsupported architectures; the build scripts
485
489
# will not use gnat anyway.
486
GNAT_BUILD_DEP := gnat-4.9 [$(ada_no_archs)],
490
GNAT_BUILD_DEP := $(gnat_build_dep),
488
492
else ifeq ($(single_package),yes)
489
493
# Ditto, as part of the gcc-snapshot package.
490
GNAT_BUILD_DEP := gnat-4.9 [$(ada_no_archs)],
494
GNAT_BUILD_DEP := $(gnat_build_dep),
491
495
else ifeq ($(PKGSOURCE),gnat-$(BASE_VERSION))
492
496
# Special source package just for gnat. Fail early if gnat is not present,
493
497
# rather than waste CPU cycles and fail later.