~ubuntu-branches/debian/experimental/gcc-5/experimental

« back to all changes in this revision

Viewing changes to debian/rules.conf

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-03-29 18:53:29 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20150329185329-k0hzbn9qkqnhtys5
Tags: 5-20150329-1
* Update to SVN 20150329.
* Fix building the gnat-5-doc package.
* Fix gnat build dependencies.
* Fix installation of the gnat upstream ChangeLog. Closes: #781451.
* Restore the bootstrap-debug.mk patch to the ada-mips patch
  for debugging purposes. See #781457.

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
  JAVA_BUILD_INDEP :=, $(JAVA_BUILD_INDEP)
475
475
endif
476
476
 
477
 
# FIXME: needs zlib?
478
 
GO_BUILD_DEP := g++-4.6,
479
477
GO_BUILD_DEP := netbase,
480
478
 
 
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)]
 
483
endif
 
484
 
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),
487
491
  endif
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.