r67899 - in /trunk/libimage-librsvg-perl/debian: changelog control rules
roam-guest at users.alioth.debian.org
roam-guest at users.alioth.debian.org
Wed Jan 26 22:08:27 UTC 2011
Author: roam-guest
Date: Wed Jan 26 22:08:19 2011
New Revision: 67899
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67899
Log:
Use dpkg-buildflags to get the default CFLAGS, CPPFLAGS and LDFLAGS.
Modified:
trunk/libimage-librsvg-perl/debian/changelog
trunk/libimage-librsvg-perl/debian/control
trunk/libimage-librsvg-perl/debian/rules
Modified: trunk/libimage-librsvg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/changelog?rev=67899&op=diff
==============================================================================
--- trunk/libimage-librsvg-perl/debian/changelog (original)
+++ trunk/libimage-librsvg-perl/debian/changelog Wed Jan 26 22:08:19 2011
@@ -42,6 +42,8 @@
- add my copyright notice
* Bump the debhelper compatibility level to 7 and minimize the rules file
using override rules.
+ * Use dpkg-buildflags from dpkg-dev 1.15.7 to obtain the default values
+ for CPPFLAGS, CFLAGS and LDFLAGS.
-- Peter Pentchev <roam at ringlet.net> Wed, 26 Jan 2011 13:18:48 +0200
Modified: trunk/libimage-librsvg-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/control?rev=67899&op=diff
==============================================================================
--- trunk/libimage-librsvg-perl/debian/control (original)
+++ trunk/libimage-librsvg-perl/debian/control Wed Jan 26 22:08:19 2011
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Antonio S. de A. Terceiro <asaterceiro at inf.ufrgs.br>, Niko Tyni <ntyni at iki.fi>, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Peter Pentchev <roam at ringlet.net>
-Build-Depends: debhelper (>= 7.0.50~), perl, librsvg2-dev
+Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.15.7~), perl, librsvg2-dev
Standards-Version: 3.7.3
Homepage: http://search.cpan.org/dist/Image-LibRSVG/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libimage-librsvg-perl/
Modified: trunk/libimage-librsvg-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libimage-librsvg-perl/debian/rules?rev=67899&op=diff
==============================================================================
--- trunk/libimage-librsvg-perl/debian/rules (original)
+++ trunk/libimage-librsvg-perl/debian/rules Wed Jan 26 22:08:19 2011
@@ -1,23 +1,13 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
+CFLAGS:= $(shell dpkg-buildflags --get CFLAGS)
+CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS)
+LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS)
+
+export CFLAGS CPPFLAGS LDFLAGS
override_dh_auto_configure:
dh_auto_configure -- LIBS='-lrsvg-2'
More information about the Pkg-perl-cvs-commits
mailing list