[xml/sgml-pkgs] Bug#458580: calls compile_encoding in a confusing way

Joey Hess joeyh at debian.org
Tue Jan 1 20:34:24 UTC 2008


Package: libxml-parser-perl
Version: 2.34-4.3
Severity: minor
Tags: patch

compile_encoding only looks for options *before* the filename.
This patch fixes how compile_encoding is called, to be less confusing.

--- old/libxml-parser-perl-2.34/debian/rules	2008-01-01 15:32:40.000000000 -0500
+++ libxml-parser-perl-2.34/debian/rules	2008-01-01 15:32:18.000000000 -0500
@@ -33,8 +33,7 @@
 build:		build-stamp
 build-stamp:
 		dh_testdir
-		cd Parser/Encodings && \
-			$(foreach encoding,$(ADDED_ENCODINGS),compile_encoding /usr/share/libxml-encoding-perl/$(encoding).xml -o Parser/Encodings/$(encoding).enc;)
+		$(foreach encoding,$(ADDED_ENCODINGS),compile_encoding -o Parser/Encodings/$(encoding).enc /usr/share/libxml-encoding-perl/$(encoding).xml ;)
 		perl Makefile.PL INSTALLDIRS=vendor
 		$(MAKE) OPTIMIZE="$(CFLAGS)"
 		$(MAKE) test

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml-parser-perl depends on:
ii  libc6                      2.7-4         GNU C Library: Shared libraries
ii  libexpat1                  1.95.8-4      XML parsing C library - runtime li
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  libwww-perl                5.805-1       WWW client/server library for Perl
ii  perl                       5.8.8-12      Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.8]  5.8.8-12      The Pathologically Eclectic Rubbis

libxml-parser-perl recommends no packages.

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20080101/c66664da/attachment.pgp 


More information about the debian-xml-sgml-pkgs mailing list