Package: debhelper
Version: 7.0.17

Hey all,

The debhelper package contains both a 'debian' directory for debian/rules etc 
and a
'Debian' directory for the Debian/Debhelper/*.pm Perl modules. Therefore, on 
Win32
(i.e. Cygwin), it is impossible to unpack debhelper - when you try, you get 
only the
debian/ folder, so the modules are missing.

A patch is available in the Debian GNU/kCygwin project SVN repository on 
Sourceforge.
For reference, I've also added it below.

Apart from applying this patch, the Debian directory should be moved to 
lib/Debian, of
course.

Only in debhelper-orig: Debian
Only in debhelper: lib
diff -ur debhelper-orig/Makefile debhelper/Makefile
--- debhelper-orig/Makefile     2008-07-31 18:27:07.000000000 +0200
+++ debhelper/Makefile  2009-01-26 06:36:26.000000000 +0100
@@ -51,10 +51,10 @@
 
 version:
        printf "package 
Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';\n1" > \
-               Debian/Debhelper/Dh_Version.pm
+               lib/Debian/Debhelper/Dh_Version.pm
 
 clean:
-       rm -f *.1 *.7 Debian/Debhelper/Dh_Version.pm
+       rm -f *.1 *.7 lib/Debian/Debhelper/Dh_Version.pm
        po4a --rm-translations --rm-backups man/po4a/po4a.cfg
        for lang in $(LANGS); do \
                if [ -e man/$$lang ]; then rmdir man/$$lang; fi; \
@@ -66,8 +66,8 @@
                $(DESTDIR)$(PERLLIBDIR)/Sequence
        install $(shell find -maxdepth 1 -mindepth 1 -name dh\* |grep -v 
\.1\$$) $(DESTDIR)/usr/bin
        install -m 0644 autoscripts/* $(DESTDIR)/usr/share/debhelper/autoscripts
-       install -m 0644 Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR)
-       install -m 0644 Debian/Debhelper/Sequence/*.pm 
$(DESTDIR)$(PERLLIBDIR)/Sequence
+       install -m 0644 lib/Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR)
+       install -m 0644 lib/Debian/Debhelper/Sequence/*.pm 
$(DESTDIR)$(PERLLIBDIR)/Sequence
 
 test: version
        ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ } 
@ARGV' t/*
diff -ur debhelper-orig/run debhelper/run
--- debhelper-orig/run  2008-07-31 18:27:07.000000000 +0200
+++ debhelper/run       2009-01-26 06:36:04.000000000 +0100
@@ -7,7 +7,7 @@
 
 # Ensure that builds are self-hosting, which means I have to use the .pm
 # files in this package, not any that may be on the system.
-export PERL5LIB=$(pwd)
+export PERL5LIB=$(pwd)/lib
 
 # If any automatic script generation is done in building this package, 
 # be sure to use the new templates from this package.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to