X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=perl-policy.sgml;h=1d26df7c40ab75eaa6cb2a1cf4e768c116aa7d0f;hb=907905af29883401668ca56652c6b9e0a75f75fe;hp=8edf3d7e5bdb7ffbc5dd4b0272d9ce268f383c66;hpb=a3a649ad7268e5709cb3a84cd37c7adeba71cf35;p=debian%2Fdebian-policy.git diff --git a/perl-policy.sgml b/perl-policy.sgml index 8edf3d7..1d26df7 100644 --- a/perl-policy.sgml +++ b/perl-policy.sgml @@ -6,11 +6,13 @@ Debian Perl Policy Raphaël Hertzog - hertzog@debian.org Brendan O'Dea - bod@debian.org + + + The Debian Policy mailing list + debian-policy@lists.debian.org version 1.20 @@ -38,21 +40,33 @@

A copy of the GNU General Public License is available as - /usr/share/common-licences/GPL in the Debian GNU/Linux + /usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or on the World Wide Web at .

You can also obtain it by writing to the - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301, USA.

+ + About this document +

+ This document is distributed as the perl-policy files + in the Debian package + . + It is also available from the Debian web mirrors at + . +

+
+ Perl Packaging @@ -299,12 +313,11 @@ $(MAKE) OPTIMIZE="-O2 -g -Wall" and this one to install the results into the temporary tree: -$(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr - -

-

- A Build-Depends on perl (>= 5.6.0-16) is - required. +$(MAKE) install PREFIX=$(CURDIR)/debian/<tmp>/usr + +

Replace <tmp> with the appropriate directory + (nominally just tmp)

+

@@ -325,13 +338,6 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr the minimum required version, or more simply the current version.

-

- In the absence of an explicit requirement, - architecture-independent modules must depend on a minimum - perl or perl-base - version of 5.6.0-16 due to the changes in - @INC introduced by that version. -

@@ -353,15 +359,22 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr Rather than hard-coding the dependencies into the control file, using a substitution such as ${perl:Depends} is suggested. This allows the dependencies to be determined - as build time and written to the substvars file - in the form perl:Depends=deps. + at build time and written to the substvars file + in the form + perl:Depends=deps. +

Please note that dependencies caused by versioned + uses and on separately packaged modules are not included + in this variable and must be explicitly included.

+

- Packages built with debhelper may use to generate this substitution - automatically. This additionally requires a versioned - Build-Depends (or Build-Depends-Indep) - on debhelper (>= 3.0.18). + Packages built with debhelper may use + + to generate this + substitution automatically. This additionally requires a + versioned Build-Depends (or + Build-Depends-Indep) on debhelper (>= + 3.0.18).

@@ -395,7 +408,7 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr

As with modules, packages using debhelper may use - to automatically generate + to automatically generate dependences (see ).

@@ -464,3 +477,6 @@ perl -MExtUtils::Embed -e ldopts + + +