]> git.donarmstrong.com Git - debian/debian-policy.git/blobdiff - perl-policy.sgml
Remove obsolete versioned Perl depend and build-depend requirement
[debian/debian-policy.git] / perl-policy.sgml
index ce9c4ee8e83c756dc87511a98847311d7b4e54ea..1d26df7c40ab75eaa6cb2a1cf4e768c116aa7d0f 100644 (file)
        </p>
        <p>
          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. 
        </p>
       </copyright>
     </titlepag>
 
     <toc detail="sect">
 
+    <chapt>
+      <heading>About this document</heading>
+      <p>
+       This document is distributed as the <tt>perl-policy</tt> files
+       in the Debian package
+        <package><url name="debian-policy" id="http://packages.debian.org/debian-policy"></package>.
+       It is also available from the Debian web mirrors at
+       <tt><url name="/doc/packaging-manuals/perl-policy/"
+               id="http://www.debian.org/doc/packaging-manuals/perl-policy/"></tt>.
+      </p>
+    </chapt>
+
     <chapt id="perl">
       <heading>Perl Packaging</heading>
       <sect id="versions">
@@ -307,10 +319,6 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/&lt;tmp&gt;/usr
            (nominally just tmp)</p>
          </footnote>
        </p>
-       <p>
-         A <tt>Build-Depends</tt> on <tt>perl (>= 5.6.0-16)</tt> is
-         required.
-       </p>
       </sect>
 
       <sect id="module_deps">
@@ -330,13 +338,6 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/&lt;tmp&gt;/usr
            the minimum required version, or more simply the current
            version.
          </p>
-         <p>
-           In the absence of an explicit requirement,
-           architecture-independent modules must depend on a minimum
-           <package>perl</package> or <package>perl-base</package>
-           version of <tt>5.6.0-16</tt> due to the changes in
-           <tt>@INC</tt> introduced by that version.
-         </p>
        </sect1>
 
        <sect1 id="binary_modules">
@@ -358,8 +359,13 @@ $(MAKE) install PREFIX=$(CURDIR)/debian/&lt;tmp&gt;/usr
            Rather than hard-coding the dependencies into the control
            file, using a substitution such as <tt>${perl:Depends}</tt>
            is suggested.  This allows the dependencies to be determined
-           as build time and written to the <file>substvars</file> file
-           in the form <tt>perl:Depends=<var>deps</var></tt>.
+           at build time and written to the <file>substvars</file> file
+           in the form
+           <tt>perl:Depends=<var>deps</var></tt>.<footnote>
+             <p>Please note that dependencies caused by versioned
+             uses and on separately packaged modules are not included
+             in this variable and must be explicitly included.</p>
+           </footnote>
          </p>
          <p>
            Packages built with <prgn>debhelper</prgn> may use
@@ -471,3 +477,6 @@ perl -MExtUtils::Embed -e ldopts
     </appendix>
   </book>
 </debiandoc>
+<!-- Local variables: -->
+<!-- indent-tabs-mode: t -->
+<!-- End: -->