~ubuntu-branches/debian/sid/gnat-4.4/sid

« back to all changes in this revision

Viewing changes to debian/rules.defs

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Brenta
  • Date: 2010-05-09 23:28:13 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100509232813-bykj33gg0mc34opr
Tags: 4.4.4-2
* debian/control.m4, debian/control: make upgrades from Lenny work without
  broken packages or hard decisions.
  (gnat-4.4): replace all previous versions of gnat-X.Y.
  (libgnat{vsn,prj}4.4-dev):
  - Replace the corresponding 4.3 package in addition to Conflicting with it.
  - Suggest the -dbg package, too.
  (libgnat{vsn,prj}4.4-dbg):
  - Depend on the -dev package, too.
  - Do not recommend gnat-gdb, superseded by gdb.
  (libgnatprj4.4-dbg): do not recommend libgnatprj-dev, no longer in the archive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
builddir        = $(PWD)/build
9
9
stampdir        = stamps
10
10
 
11
 
# FIXME: lsb_release triggers a kernel bug on the Debian mips/mipsel buildds
12
 
ifneq (,$(filter $(DEB_TARGET_ARCH),mips mipsel))
13
 
  distribution  := Debian
14
 
else
15
 
  distribution  := $(shell lsb_release -is)
16
 
endif
17
 
 
18
11
# creates {srcdir,builddir}_{hppa64,ia6432,spu}
19
12
$(foreach x,srcdir builddir,$(foreach target,hppa64 ia6432 spu neon,$(eval \
20
13
  $(x)_$(target) := $($(x))-$(target))))
207
200
# -------------------------------------------------------------------
208
201
# architecture specific config
209
202
 
 
203
# FIXME: lsb_release triggers a kernel bug on the Debian mips/mipsel buildds
 
204
ifneq (,$(filter $(DEB_TARGET_ARCH),mips mipsel))
 
205
  distribution  := Debian
 
206
else
 
207
  distribution  := $(shell lsb_release -is)
 
208
endif
 
209
 
210
210
ifeq ($(distribution),Ubuntu)
211
211
  with_arm_thumb := yes
212
212
endif
478
478
 
479
479
ifeq ($(with_java),yes)
480
480
  # use the same names as OpenJDK
481
 
  java_cpu_map = armel=arm hppa=parisc i686=i386 i586=i386 i486=i386 mipsel=mips powerpc=ppc
 
481
  java_cpu_map = armel=arm hppa=parisc i686=i386 i586=i386 i486=i386 mipsel=mips powerpc=ppc sh4=sh
482
482
  java_cpu = $(patsubst $(DEB_TARGET_ARCH_CPU)=%,%, \
483
483
                         $(filter $(DEB_TARGET_ARCH_CPU)=%,$(java_cpu_map)))
484
484
  ifeq (,$(java_cpu))
717
717
ifneq (,$(findstring snapshot,$(PKGSOURCE))$(findstring 4.5,$(PKGSOURCE)))
718
718
  with_plugins := yes
719
719
endif
 
720
with_plugins := no
720
721
 
721
722
# -------------------------------------------------------------------
722
723
# non-extra config