Wed May 11 22:10:50 2022 UTC ()
doc/guide: fix line breaks in section 21.4.3 "Go"


(rillig)
diff -r1.168 -r1.169 pkgsrc/doc/guide/files/fixes.xml

cvs diff -r1.168 -r1.169 pkgsrc/doc/guide/files/fixes.xml (expand / switch to unified diff)

--- pkgsrc/doc/guide/files/fixes.xml 2022/01/24 23:18:33 1.168
+++ pkgsrc/doc/guide/files/fixes.xml 2022/05/11 22:10:50 1.169
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1<!-- $NetBSD: fixes.xml,v 1.168 2022/01/24 23:18:33 gutteridge Exp $ --> 1<!-- $NetBSD: fixes.xml,v 1.169 2022/05/11 22:10:50 rillig Exp $ -->
2 2
3<chapter id="fixes"> <?dbhtml filename="fixes.html"?> 3<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
4<title>Making your package work</title> 4<title>Making your package work</title>
5 5
6<sect1 id="general-operation"> 6<sect1 id="general-operation">
7 <title>General operation</title> 7 <title>General operation</title>
8 8
9 <para>One appealing feature of pkgsrc is that it runs on many 9 <para>One appealing feature of pkgsrc is that it runs on many
10 different platforms. As a result, it is important to ensure, 10 different platforms. As a result, it is important to ensure,
11 where possible, that packages in pkgsrc are portable. This 11 where possible, that packages in pkgsrc are portable. This
12 chapter mentions some particular details you should pay 12 chapter mentions some particular details you should pay
13 attention to while working on pkgsrc.</para> 13 attention to while working on pkgsrc.</para>
14 14
@@ -1456,29 +1456,29 @@ pre-configure: @@ -1456,29 +1456,29 @@ pre-configure:
1456 <sect2 id="go-programming-language"> 1456 <sect2 id="go-programming-language">
1457 <title>Go</title> 1457 <title>Go</title>
1458 1458
1459 <para>If a program is written in Go and has any dependencies on 1459 <para>If a program is written in Go and has any dependencies on
1460 other Go modules, have the package include 1460 other Go modules, have the package include
1461 <filename>../../lang/go/go-module.mk</filename>.</para> 1461 <filename>../../lang/go/go-module.mk</filename>.</para>
1462 1462
1463 1463
1464 <orderedlist> 1464 <orderedlist>
1465 <listitem><para>Generate a list of those dependencies with 1465 <listitem><para>Generate a list of those dependencies with
1466 <command>make clean && make patch && make show-go-modules > 1466 <command>make clean && make patch && make show-go-modules >
1467 go-modules.mk</command>.</para></listitem> 1467 go-modules.mk</command>.</para></listitem>
1468 1468
1469 <listitem><para>Prepend <programlisting>.include 1469 <listitem><para>Prepend
1470 "go-modules.mk"</programlisting> to any other 1470 <literal>.include "go-modules.mk"</literal> to any other
1471 <programlisting>.include</programlisting>s.</para></listitem> 1471 <literal>.include</literal>s.</para></listitem>
1472 1472
1473 <listitem><para>Incorporate these modules in 1473 <listitem><para>Incorporate these modules in
1474 <filename>distinfo</filename> with <command>make 1474 <filename>distinfo</filename> with <command>make
1475 makesum</command>.</para></listitem> 1475 makesum</command>.</para></listitem>
1476 </orderedlist> 1476 </orderedlist>
1477 </sect2> 1477 </sect2>
1478 1478
1479 <sect2 id="perl-scripts"> 1479 <sect2 id="perl-scripts">
1480 <title>Packages containing Perl scripts</title> 1480 <title>Packages containing Perl scripts</title>
1481 1481
1482 <para>If your package contains interpreted Perl scripts, add 1482 <para>If your package contains interpreted Perl scripts, add
1483 <quote>perl</quote> to the <varname>USE_TOOLS</varname> variable 1483 <quote>perl</quote> to the <varname>USE_TOOLS</varname> variable
1484 and set <varname>REPLACE_PERL</varname> to ensure that the proper 1484 and set <varname>REPLACE_PERL</varname> to ensure that the proper