Changeset c9384fd


Ignore:
Timestamp:
01/17/2023 12:50:55 PM (15 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
4cbdd08
Parents:
82bb519
git-author:
Pierre Labastie <pierre.labastie@…> (01/16/2023 12:28:17 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (01/17/2023 12:50:55 PM)
Message:

Remove the --disable-rpath option for gnutls

This option is not needed for recent versions of gnutls, as
the build system does exactly what is expected: link binaries and
libraries with rpath pointing to the build tree at first, then
remove rpath completely when relinking at install time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/gnutls.xml

    r82bb519 rc9384fd  
    146146<screen><userinput>./configure --prefix=/usr \
    147147            --docdir=/usr/share/doc/gnutls-&gnutls-version; \
    148             --disable-rpath \
    149148            --with-default-trust-store-pkcs11="pkcs11:" &amp;&amp;
    150149make</userinput></screen>
     150<!-- - -disable-rpath \
     151     Old gnutls versions (around 3.5) had a problem with rpath, because
     152     libraries in the build tree were linked with rpath pointing to the
     153     system libraries, so that tests failed. Present versions don't have
     154     this problem, and do exactly what is expected without using the
     155     disable-rpath option: rpath pointing to the build tree when libraries
     156     are first linked, but rpath removed when libraries are relinked at
     157     install time. -->
    151158
    152159    <para>
     
    160167
    161168<screen role="root"><userinput>make install</userinput></screen>
    162 <!--
    163     <para>
    164       If you passed <option>- -enable-gtk-doc</option> to the
    165       <command>configure</command> script, the API will automatically be
    166       installed.  Otherwise, if desired, you can still install the API
    167       documentation to the <filename
    168       class="directory">/usr/share/gtk-doc/html/gnutls</filename> directory
    169       using the following command as the <systemitem
    170       class="username">root</systemitem> user:
    171     </para>
    172 
    173 <screen role="root"><userinput>make -C doc/reference install-data-local</userinput></screen>
    174 -->
     169
    175170  </sect2>
    176171
     
    183178      Omit this switch if <xref linkend="p11-kit"/> is not installed.
    184179    </para>
    185 
    186     <para>
    187       <parameter>--disable-rpath</parameter>: This switch prevents building
     180    <!-- see above
     181    <para>
     182      <parameter>- -disable-rpath</parameter>: This switch prevents building
    188183      GnuTLS utilities and tests with hardcoded runtime library search path.
    189184      Hardcoded rpath is unneeded for BLFS, and it causes test failures if
    190185      an old version of GnuTLS is installed.
    191186    </para>
    192 
     187    -->
    193188    <para>
    194189      <option>--with-default-trust-store-file=/etc/pki/tls/certs/ca-bundle.crt</option>:
Note: See TracChangeset for help on using the changeset viewer.