Package: aptitude Version: 0.2.15.9-3 Severity: minor Tags: patch It would be nice if the building of aptitude honored DEB_BUILD_OPTIONS=noopt. The minor patch below fixes this.
Sami ------------------------------------------------------------ diff -ur aptitude-0.2.15.9/debian/rules new/debian/rules --- aptitude-0.2.15.9/debian/rules 2005-07-01 02:13:48.746607264 +0300 +++ new/debian/rules 2005-07-01 02:13:15.914598488 +0300 @@ -8,11 +8,20 @@ # This is the debhelper compatability version to use. export DH_COMPAT=4 +CFLAGS=-g + +# Do not optimize the build with "noopt" +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + build: build-stamp build-stamp: dh_testdir - ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-werror + CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-werror $(MAKE) touch build-stamp ------------------------------------------------------------ -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12 Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages aptitude depends on: ii apt [libapt-pkg-libc6.3-5-3 0.6.38 Advanced front-end for dpkg ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libgcc1 1:4.0.0-11 GCC support library ii libncurses5 5.4-8 Shared libraries for terminal hand ii libsigc++-1.2-5c102 1.2.5-4 type-safe Signal Framework for C++ ii libstdc++5 1:3.3.6-7 The GNU Standard C++ Library v3 Versions of packages aptitude recommends: ii aptitude-doc-en [aptitude-doc 0.2.15.9-3 English manual for aptitude, a ter -- no debconf information
signature.asc
Description: Digital signature