[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#319616: add -DDEBIAN flag

Package: gcc-4.0
Version: 4.0.1-2
Severity: wishlist
Tags: patch


It seems defining the DEBIAN macro in source packages has become a common
trend.  I could find around 60 packages that define this or equivalent macros
(the most common one being DEBIAN).

What would you think of standarising it a bit by defining this macro in gcc?
I can think of a few advantages, including that upstream developers can use it
to identify our distribution.

Please consider the attached patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages gcc-4.0 depends on:
ii  binutils                    2.16.1-2     The GNU assembler, linker and bina
ii  cpp-4.0                     4.0.1-2      The GNU C preprocessor
ii  gcc-4.0-base                4.0.1-2      The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:4.0.1-2    GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                   2.3.2.ds1-22 GNU C Library: Development Librari
pn  libmudflap0-dev             <none>       (no description available)

-- no debconf information

Attachment: define_debian.dpatch
Description: application/shellscript

Reply to: