This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libgtk2-notify-perl.

commit 9733162c74e8c02a12062d0196a00f095f823fb6
Author: gregor herrmann <gre...@debian.org>
Date:   Wed Jan 17 20:56:15 2018 +0100

    Modernize debian/rules.
    
    Use /usr/share/dpkg/architecture.mk and DEB_CFLAGS_MAINT_APPEND.
---
 debian/rules | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index bf532b1..0b1f029 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-CFLAGS += -I/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/include
+include /usr/share/dpkg/architecture.mk
+export DEB_CFLAGS_MAINT_APPEND = 
-I/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/include
 
 SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
 TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
@@ -11,8 +11,5 @@ TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
 %:
        dh $@
 
-override_dh_auto_configure:
-       dh_auto_configure -- OPTIMIZE="$(CFLAGS)"
-
 override_dh_auto_test:
        xvfb-run -a dh_auto_test -- TEST_FILES="$(TEST_FILES)"

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libgtk2-notify-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to