Package: perl-clearsilver
Version: 0.10.2-1
Severity: important
Tags: patch


Content-Type: multipart/mixed; boundary="===============1680032553=="
MIME-Version: 1.0
From: Lars Kruse <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: perl-clearsilver: wrong installation directory
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Mon, 20 Mar 2006 08:49:26 +0100

This is a multi-part MIME message sent by reportbug.

--===============1680032553==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: perl-clearsilver
Version: 0.10.2-1
Severity: important
Tags: patch

I) The makefile of the upstream source code uses a wrong installation
directory (/usr/local/lib/perl instead of /usr/lib/perl5)

II) the debian/rules file contains an invalid line (resulting in a
missing Clearsilver.pm file)

the attached patches should solve both problems

I did already sent a patch to the upstream author regarding the first
(non debian-specific) problem.

Thanks for packaging clearsilver for perl!
Lars

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.5cork
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages perl-clearsilver depends on:
ii  perl                          5.8.8-2    Larry Wall's Practical Extraction 

perl-clearsilver recommends no packages.

-- no debconf information

--===============1680032553==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="clearsilver-perl_installdir.diff"

--- Makefile.orig       2006-03-13 00:42:06.000000000 +0100
+++ Makefile    2006-03-20 06:17:50.000000000 +0100
@@ -29,7 +29,7 @@
        @for mdir in $(SUBDIRS); do \
          if test -d $$mdir; then \
            if test -f $$mdir/Makefile.PL -a ! -f $$mdir/Makefile; then \
-             cd $$mdir; $(PERL) Makefile.PL; cd ..; \
+             cd $$mdir; $(PERL) Makefile.PL PREFIX=$(prefix) 
INSTALLDIRS=vendor; cd ..; \
            fi; \
            $(MAKE) -C $$mdir PREFIX=$(prefix); \
          fi; \
@@ -46,7 +46,7 @@
        @for mdir in $(SUBDIRS); do \
          if test -d $$mdir; then \
            if test -f $$mdir/Makefile.PL -a ! -f $$mdir/Makefile; then \
-             cd $$mdir; $(PERL) Makefile.PL; cd ..; \
+             cd $$mdir; $(PERL) Makefile.PL PREFIX=$(prefix) 
INSTALLDIRS=vendor; cd ..; \
            fi; \
            $(MAKE) -C $$mdir PREFIX=$(prefix) install; \
          fi; \

--===============1680032553==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="clearsilver-debian_packaging.diff"

--- rules.orig  2006-03-20 07:36:21.000000000 +0100
+++ rules       2006-03-20 07:36:58.000000000 +0100
@@ -31,7 +31,8 @@
 
 build/perl-clearsilver::
        install -d debian/tmp/usr/lib/perl5
-       install -d debian/tmp/usr/lib/perl5/auto/ClearSilver \
+       install -d debian/tmp/usr/lib/perl5/auto/ClearSilver
+       install -m644 $(DEB_BUILDDIR)/perl/ClearSilver.pm \
            debian/tmp/usr/lib/perl5/ClearSilver.pm
        install -m755 
$(DEB_BUILDDIR)/perl/blib/arch/auto/ClearSilver/ClearSilver.so \
            debian/tmp/usr/lib/perl5/auto/ClearSilver/ClearSilver.so

--===============1680032553==--

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.5cork
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages perl-clearsilver depends on:
ii  perl                          5.8.8-2    Larry Wall's Practical Extraction 

perl-clearsilver recommends no packages.

-- no debconf information
--- Makefile.orig       2006-03-13 00:42:06.000000000 +0100
+++ Makefile    2006-03-20 06:17:50.000000000 +0100
@@ -29,7 +29,7 @@
        @for mdir in $(SUBDIRS); do \
          if test -d $$mdir; then \
            if test -f $$mdir/Makefile.PL -a ! -f $$mdir/Makefile; then \
-             cd $$mdir; $(PERL) Makefile.PL; cd ..; \
+             cd $$mdir; $(PERL) Makefile.PL PREFIX=$(prefix) 
INSTALLDIRS=vendor; cd ..; \
            fi; \
            $(MAKE) -C $$mdir PREFIX=$(prefix); \
          fi; \
@@ -46,7 +46,7 @@
        @for mdir in $(SUBDIRS); do \
          if test -d $$mdir; then \
            if test -f $$mdir/Makefile.PL -a ! -f $$mdir/Makefile; then \
-             cd $$mdir; $(PERL) Makefile.PL; cd ..; \
+             cd $$mdir; $(PERL) Makefile.PL PREFIX=$(prefix) 
INSTALLDIRS=vendor; cd ..; \
            fi; \
            $(MAKE) -C $$mdir PREFIX=$(prefix) install; \
          fi; \

Reply via email to