Package: grep
Version: 2.6.3-3
Severity: wishlist
Tags: patch

In Debian main mechanism for providing building flags when building
packages is by using /etc/dpkg/buildflags.conf.

This file is readed by dpkg-buildpackage, and nacassary
environment variables are created before debian/rules
is executed.

grep's debian/rules, unconditionally overwrites all flags.


Simple changes to debian/rules are needed to fix this.
Patch bellow.

Thanks.

--- debian/rules.o      2010-04-07 23:04:36.000000000 +0200
+++ debian/rules        2010-09-09 21:48:36.000000000 +0200
@@ -13,8 +13,9 @@
 CROSS= --build $(DEB_BUILD_GNU_TYPE)
 endif

-CFLAGS= -O3 -g -ldl
-LDFLAGS= -Wl,-z,defs
+CFLAGS ?= -O3 -g
+CFLAGS += -ldl
+LDFLAGS ?= -Wl,-z,defs

 include /usr/share/quilt/quilt.make







-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grep depends on:
ii  dpkg                      1.15.8.4       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.11.2-5       Embedded GNU C Library: Shared lib

grep recommends no packages.

Versions of packages grep suggests:
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to