Fix pkgconfig file for libtiff

When using cmake/ninja, the pkgconfig file for libtiff has an empty
Version field. Add a sed to cure that.
This commit is contained in:
Pierre Labastie 2021-08-02 21:40:59 +02:00
parent e6d0be69b6
commit 476753a688

View File

@ -119,7 +119,19 @@ ninja</userinput></screen>
user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
<screen role="root"><userinput>ninja install
sed -i /Version/s/\$/$(cat ../VERSION)/ /usr/lib/pkgconfig/libtiff-4.pc</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i /Version/...</command>: When building with cmake/ninja,
the Version field in the pkgconfig file is empty. This command allows to
fix that field.
</para>
</sect2>