]> git.ipfire.org Git - ipfire-3.x.git/blob - docbook-xsl/patches/docbook-xsl-mandir.patch
perl: XSLoader requires DynaLoader.
[ipfire-3.x.git] / docbook-xsl / patches / docbook-xsl-mandir.patch
1 diff -urNp docbook-xsl-1.76.1-orig/manpages/other.xsl docbook-xsl-1.76.1/manpages/other.xsl
2 --- docbook-xsl-1.76.1-orig/manpages/other.xsl 2010-08-27 05:14:52.000000000 +0200
3 +++ docbook-xsl-1.76.1/manpages/other.xsl 2011-09-06 17:17:07.973737258 +0200
4 @@ -595,7 +595,14 @@ manvolnum
5 <xsl:with-param name="message-prolog">Note: </xsl:with-param>
6 <xsl:with-param name="message-epilog"> (soelim stub)</xsl:with-param>
7 <xsl:with-param name="content">
8 - <xsl:value-of select="'.so '"/>
9 + <xsl:choose>
10 + <xsl:when test="$man.output.in.separate.dir = 0">
11 + <xsl:value-of select="concat('.so man', $section, '/')"/>
12 + </xsl:when>
13 + <xsl:otherwise>
14 + <xsl:value-of select="'.so '"/> <!-- added case -->
15 + </xsl:otherwise>
16 + </xsl:choose>
17 <xsl:call-template name="make.adjusted.man.filename">
18 <xsl:with-param name="name" select="$first.refname"/>
19 <xsl:with-param name="section" select="$section"/>