Fix x265 if git has not been installed.

Original problem report from rhubarbpieguy on blfs-support,
fix found at gentoo.
This commit is contained in:
Ken Moffat 2022-03-25 02:22:54 +00:00
parent 751dd1ebc0
commit 3f24c6cafd
2 changed files with 18 additions and 1 deletions

View File

@ -41,6 +41,15 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>March 25th, 2022</para>
<itemizedlist>
<listitem>
<para>[ken] - Fix x265 when git has not been installed.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>March 24th, 2022</para>
<itemizedlist>

View File

@ -103,7 +103,8 @@
<screen><userinput>mkdir bld &amp;&amp;
cd bld &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr ../source &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DGIT_ARCHETYPE=1 ../source &amp;&amp;
make</userinput></screen>
<para>
@ -122,6 +123,13 @@ rm -vf /usr/lib/libx265.a </userinput></screen>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>-DGIT_ARCHETYPE=1</command>: Upstream no longer provides
releases. BLFS is using a git snapshot, but if the builder has not
installed <application>git</application> the build will not install
the shared library or the pkgconfig file without this switch.
</para>
<para>
<command>rm -vf /usr/lib/libx265.a</command>: BLFS does not recommend
using static libraries.