r3937 - in /packages/libnet-patricia-perl/trunk/debian: changelog control rules

ntyni-guest at users.alioth.debian.org ntyni-guest at users.alioth.debian.org
Tue Sep 26 18:53:55 UTC 2006


Author: ntyni-guest
Date: Tue Sep 26 18:53:54 2006
New Revision: 3937

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3937
Log:
packaging fixes

Modified:
    packages/libnet-patricia-perl/trunk/debian/changelog
    packages/libnet-patricia-perl/trunk/debian/control
    packages/libnet-patricia-perl/trunk/debian/rules

Modified: packages/libnet-patricia-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnet-patricia-perl/trunk/debian/changelog?rev=3937&op=diff
==============================================================================
--- packages/libnet-patricia-perl/trunk/debian/changelog (original)
+++ packages/libnet-patricia-perl/trunk/debian/changelog Tue Sep 26 18:53:54 2006
@@ -1,8 +1,10 @@
 libnet-patricia-perl (1.014-2) unstable; urgency=low
 
   * Don't link unnecessarily with -lnsl.
+  * Support DEB_BUILD_OPTIONS=noopt.
+  * Upgrade to Standards-Version 3.7.2. No changes needed.
 
- -- Niko Tyni <ntyni at iki.fi>  Tue, 26 Sep 2006 21:50:42 +0300
+ -- Niko Tyni <ntyni at iki.fi>  Tue, 26 Sep 2006 21:53:41 +0300
 
 libnet-patricia-perl (1.014-1) unstable; urgency=low
 

Modified: packages/libnet-patricia-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnet-patricia-perl/trunk/debian/control?rev=3937&op=diff
==============================================================================
--- packages/libnet-patricia-perl/trunk/debian/control (original)
+++ packages/libnet-patricia-perl/trunk/debian/control Tue Sep 26 18:53:54 2006
@@ -4,7 +4,7 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Michael Zehrer <zehrer at zepan.org>, Joachim Breitner <nomeata at debian.org>, Niko Tyni <ntyni at iki.fi>
 Build-Depends: debhelper (>= 5), perl (>= 5.8.0-3)
-Standards-Version: 3.6.2
+Standards-Version: 3.7.2
 
 Package: libnet-patricia-perl
 Section: perl

Modified: packages/libnet-patricia-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libnet-patricia-perl/trunk/debian/rules?rev=3937&op=diff
==============================================================================
--- packages/libnet-patricia-perl/trunk/debian/rules (original)
+++ packages/libnet-patricia-perl/trunk/debian/rules Tue Sep 26 18:53:54 2006
@@ -4,6 +4,15 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
 
 PACKAGE=$(shell dh_listpackages)
 TMP     =$(CURDIR)/debian/$(PACKAGE)
@@ -19,8 +28,8 @@
 	dh_testdir
 
 	perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-	$(MAKE) test OPTIMIZE="-O2 -g -Wall"
+	$(MAKE) OPTIMIZE="$(CFLAGS)"
+	$(MAKE) test
 
 	touch build-stamp
 




More information about the Pkg-perl-cvs-commits mailing list