r7862 - in /trunk/libquota-perl: Makefile.PL debian/changelog debian/control debian/patches/ debian/patches/01_Makefile.PL-remove-unneeded-objects.patch debian/patches/series debian/rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Sep 22 11:44:37 UTC 2007


Author: dmn
Date: Sat Sep 22 11:44:37 2007
New Revision: 7862

URL: http://svn.debian.org/wsvn/?sc=1&rev=7862
Log:
* Moved the change of Makefile.PL to a patch
  + Added quilt build-dependency

Added:
    trunk/libquota-perl/debian/patches/
    trunk/libquota-perl/debian/patches/01_Makefile.PL-remove-unneeded-objects.patch
    trunk/libquota-perl/debian/patches/series
Modified:
    trunk/libquota-perl/Makefile.PL
    trunk/libquota-perl/debian/changelog
    trunk/libquota-perl/debian/control
    trunk/libquota-perl/debian/rules

Modified: trunk/libquota-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/Makefile.PL?rev=7862&op=diff
==============================================================================
--- trunk/libquota-perl/Makefile.PL (original)
+++ trunk/libquota-perl/Makefile.PL Sat Sep 22 11:44:37 2007
@@ -101,6 +101,14 @@
 "
     }
 
+    # objects that must not be compiled with the CCCDL arguments
+
+    if (defined $extraobj) {
+        ($extrac = $extraobj) =~ s/\.o(\s+|$)/.c/g;
+        $ret .= "\n$extraobj :\n\t".
+                '$(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) '."$extrac\n\n";
+    }
+
     # extract objects from a library to link them in statically
     # for lame OSes that have problems with LD_PATH recording in DLOs
 

Modified: trunk/libquota-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/changelog?rev=7862&op=diff
==============================================================================
--- trunk/libquota-perl/debian/changelog (original)
+++ trunk/libquota-perl/debian/changelog Sat Sep 22 11:44:37 2007
@@ -20,8 +20,10 @@
   [ Damyan Ivanov ]
   * debian/watch linked to debian/repack.sh to automate repackaging
     + added version mangling
+  * Moved the change of Makefile.PL to a patch
+    + Added quilt build-dependency
 
- -- Damyan Ivanov <dmn at debian.org>  Sat, 22 Sep 2007 14:34:36 +0300
+ -- Damyan Ivanov <dmn at debian.org>  Sat, 22 Sep 2007 14:44:06 +0300
 
 libquota-perl (1.4.9-3) unstable; urgency=low
 

Modified: trunk/libquota-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/control?rev=7862&op=diff
==============================================================================
--- trunk/libquota-perl/debian/control (original)
+++ trunk/libquota-perl/debian/control Sat Sep 22 11:44:37 2007
@@ -1,7 +1,7 @@
 Source: libquota-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), perl (>= 5.6.0-17)
+Build-Depends: debhelper (>= 5), perl (>= 5.6.0-17), quilt
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Rene Mayorga <rmayorga at debian.org.sv>
 Standards-Version: 3.7.2

Added: trunk/libquota-perl/debian/patches/01_Makefile.PL-remove-unneeded-objects.patch
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/patches/01_Makefile.PL-remove-unneeded-objects.patch?rev=7862&op=file
==============================================================================
--- trunk/libquota-perl/debian/patches/01_Makefile.PL-remove-unneeded-objects.patch (added)
+++ trunk/libquota-perl/debian/patches/01_Makefile.PL-remove-unneeded-objects.patch Sat Sep 22 11:44:37 2007
@@ -1,0 +1,17 @@
+--- libquota-perl-1.5.1+dfsg.orig/Makefile.PL
++++ libquota-perl-1.5.1+dfsg/Makefile.PL
+@@ -101,14 +101,6 @@
+ "
+     }
+ 
+-    # objects that must not be compiled with the CCCDL arguments
+-
+-    if (defined $extraobj) {
+-        ($extrac = $extraobj) =~ s/\.o(\s+|$)/.c/g;
+-        $ret .= "\n$extraobj :\n\t".
+-                '$(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) '."$extrac\n\n";
+-    }
+-
+     # extract objects from a library to link them in statically
+     # for lame OSes that have problems with LD_PATH recording in DLOs
+ 

Added: trunk/libquota-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/patches/series?rev=7862&op=file
==============================================================================
--- trunk/libquota-perl/debian/patches/series (added)
+++ trunk/libquota-perl/debian/patches/series Sat Sep 22 11:44:37 2007
@@ -1,0 +1,1 @@
+01_Makefile.PL-remove-unneeded-objects.patch

Modified: trunk/libquota-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libquota-perl/debian/rules?rev=7862&op=diff
==============================================================================
--- trunk/libquota-perl/debian/rules (original)
+++ trunk/libquota-perl/debian/rules Sat Sep 22 11:44:37 2007
@@ -13,6 +13,7 @@
 PERL = /usr/bin/perl
 endif
 
+include /usr/share/quilt/quilt.make
 
 ifndef DESTDIR
 DESTDIR=..
@@ -33,13 +34,13 @@
 URL := http://backpan.cpan.org/modules/by-module/Quota/Quota-$(UPVERSION).tar.gz
 
 build: build-stamp
-build-stamp:
+build-stamp: patch
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH=""
 	touch $@ 
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp




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