1
>From 007c07db2c549adef83b0c9019d90746117bd7df Mon Sep 17 00:00:00 2001
2
From: Niko Tyni <ntyni@debian.org>
3
Date: Fri, 30 May 2014 14:10:22 +0300
4
Subject: [PATCH] All packages using Perl vendorarch directory need a perlapi-*
7
Having $Config{vendorarch} change between Perl major versions (for
8
multiarch or other reasons) implies that packages using it need a strict
9
dependency on those versions of perl-base that have a compatible search
12
The vast majority of these packages are binary ("XS") modules, where we
13
already require a dependency on the virtual package perlapi-*, provided
14
by perl-base. The name of this virtual package will change when the
15
interface between the Perl interpreter and the modules changes.
17
If we consider @INC part of that interface, we can use the existing
18
mechanism also for the few nonbinary modules using $Config{vendorarch}.
19
This is a new requirement that currently affects six packages in
22
perl-policy.sgml | 9 +++++----
23
1 file changed, 5 insertions(+), 4 deletions(-)
25
diff --git a/perl-policy.sgml b/perl-policy.sgml
26
index c23f7c3..12cd82c 100644
27
--- a/perl-policy.sgml
28
+++ b/perl-policy.sgml
29
@@ -388,14 +388,15 @@ $(MAKE) install DESTDIR=$(CURDIR)/debian/<tmp>
32
<sect1 id="binary_modules">
33
- <heading>Binary Modules</heading>
34
+ <heading>Binary and Other Architecture Dependent Modules</heading>
36
Binary modules must specify a dependency on either
37
<package>perl</package> or <package>perl-base</package> with
38
a minimum version of the <package>perl</package> package
39
- used to build the module, and must additionally depend on
41
- <package>perlapi-$Config{debian_abi}</package> using
42
+ used to build the module. Additionally, all binary modules
43
+ (regardless of their installation directory) and any other modules
44
+ installed into <tt>$Config{vendorarch}</tt> must depend on the
45
+ expansion of <package>perlapi-$Config{debian_abi}</package> using
46
the <tt>Config</tt> module. If <tt>$Config{debian_abi}</tt>
47
is empty or not set, <tt>$Config{version}</tt> must be used.