Package: xterm Version: 225-1 Severity: normal Attached patch changes debian/rules to honor DEB_NUILD_OPTIONS as recommended by policy 10.1.
Hochachtungsvoll, Bernhard R. Link
diff -r -u o/xterm-225/debian/rules xterm-225/debian/rules --- o/xterm-225/debian/rules 2007-04-22 15:33:53.000000000 +0200 +++ xterm-225/debian/rules 2007-04-22 15:31:23.000000000 +0200 @@ -20,10 +20,11 @@ confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif +CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CXXFLAGS += -O0 + CFLAGS += -O0 else - CXXFLAGS += -O2 + CFLAGS += -O2 endif # Figure out who's building this package. @@ -90,7 +91,7 @@ --prefix=/usr --exec-prefix=/usr --mandir=/usr/share/man \ --with-app-defaults=/etc/X11/app-defaults \ --disable-imake --enable-narrowproto --enable-exec-xterm \ - $(confflags) + $(confflags) CFLAGS="$(CFLAGS)" touch $@