Package: dvd+rw-tools
Version: 7.0-10
Severity: normal
Tags: patch

Hello:

  I took a look at the packaging and while building to create a -dbg
  package I noticed that the CFLAGS specified in the rules file is not
  used in the building.

  I propose the attached patch to solve it.

  Regards,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc6-c2toi (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dvd+rw-tools depends on:
ii  genisoimage             9:1.1.6-1        Creates ISO-9660 CD-ROM 
filesystem
ii  libc6                   2.7-5            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080104-1 GCC support library
ii  libstdc++6              4.3-20080104-1   The GNU Standard C++ Library v3

dvd+rw-tools recommends no packages.

-- no debconf information
diff -ur dvd+rw-tools-7.0/debian/rules dvd+rw-tools-7.0-CFLAGS/debian/rules
--- dvd+rw-tools-7.0/debian/rules       2008-01-07 16:01:28.000000000 +0100
+++ dvd+rw-tools-7.0-CFLAGS/debian/rules        2008-01-07 16:04:47.000000000 
+0100
@@ -18,9 +18,9 @@
        dh_testdir
 
        # Building package
-       $(MAKE) WARN=-DI_KNOW_ALL_ABOUT_SUDO
-       $(MAKE) +btcflash
-       $(MAKE) rpl8
+       CFLAGS="$(CFLAGS)" $(MAKE) WARN=-DI_KNOW_ALL_ABOUT_SUDO
+       CFLAGS="$(CFLAGS)" $(MAKE) +btcflash
+       CFLAGS="$(CFLAGS)" $(MAKE) rpl8
        sed -n "/^%changelog$$/,$$ p" dvd+rw-tools.spec > ChangeLog
 
        touch build-stamp
Sólo en dvd+rw-tools-7.0-CFLAGS/debian: rules~

Reply via email to