- Timestamp:
- 11/28/2011 02:03:42 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c25920a
- Parents:
- 265a5ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/nspr.xml
r265a5ac re305fa83 61 61 <listitem> 62 62 <para>Required patch: <ulink 63 url=" &patch-root;/nspr-&nspr-version;-pkgconfig-1.patch"/>63 url="http://www.linuxfromscratch.org/patches/downloads/nspr/nspr-&nspr-version;-pkgconfig-2.patch"/> 64 64 </para> 65 65 </listitem> … … 77 77 commands:</para> 78 78 79 <screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig- 1.patch &&79 <screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-2.patch && 80 80 cd mozilla/nsprpub && 81 ./configure --prefix=/usr \ 82 --with-mozilla\83 --with-pthreads&&81 sed -i 's#^\(RELEASE_BINS =\).*#\1#' pr/src/misc/Makefile.in && 82 ./configure --prefix=/usr --with-mozilla --with-pthreads \ 83 $([ $(arch) = x86_64 ] && echo --enable-64bit) && 84 84 make</userinput></screen> 85 85 … … 89 89 90 90 <screen role="root"><userinput>make install && 91 cp -v -LR dist/include/nspr /usr/include && 92 rm -v -f /usr/bin/{prerr.properties,compile-et.pl}</userinput></screen> 91 cp -v -LR dist/include/nspr /usr/include</userinput></screen> 93 92 94 93 </sect2> … … 98 97 99 98 <para><parameter>--with-mozilla</parameter>: This parameter adds Mozilla 100 support to the libraries (required if you want to build any Mozilla101 products ).</para>99 support to the libraries (required if you want to build any other Mozilla 100 products and link them to these libraries).</para> 102 101 103 102 <para><parameter>--with-pthreads</parameter>: This parameter forces use of 104 103 the system pthreads library.</para> 105 104 106 <para><parameter> --enable-64bit</parameter>: This parameter is required107 <emphasis>on an x86_64 system</emphasis> to prevent105 <para><parameter>$([ $(arch) ... --enable-64bit</parameter>: This parameter 106 is required <emphasis>on an x86_64 system</emphasis> to prevent 108 107 <command>configure</command> failing with a claim that this is a system 109 without pthread support.</para> 108 without pthread support. It has no effect on a 32 bit system.</para> 109 110 <para><command>sed -i 's#^\(RELEASE_BINS ...</command>: This disables 111 installing two unneeded scripts.</para> 112 113 <para>If you don't want to compile and install the static versions of the 114 libraries you can disable them with a sed: 115 <command>sed -i '/^TARGETS/s# $(LIBRARY)##' config/rules.mk</command></para> 110 116 111 117 </sect2> … … 142 148 </varlistentry> 143 149 150 <varlistentry id="libnspr4"> 151 <term><filename class='libraryfile'>libnspr4.{so,a}</filename></term> 152 <listitem> 153 <para>contains functions that provide platform independence for 154 non-GUI operating system facilities such as threads, thread 155 synchronization, normal file and network I/O, interval timing and 156 calendar time, basic memory management (malloc and free) and shared 157 library linking.</para> 158 <indexterm zone="nspr libnspr4"> 159 <primary sortas="c-libnspr4">libnspr4.{so,a}</primary> 160 </indexterm> 161 </listitem> 162 </varlistentry> 163 164 <varlistentry id="libplc4"> 165 <term><filename class='libraryfile'>libplc4.{so,a}</filename></term> 166 <listitem> 167 <para>contains functions that implement many of the features offered 168 by libnspr4</para> 169 <indexterm zone="nspr libplc4"> 170 <primary sortas="c-libplc4">libplc4.{so,a}</primary> 171 </indexterm> 172 </listitem> 173 </varlistentry> 174 175 <varlistentry id="libplds4"> 176 <term><filename class='libraryfile'>libplds4.{so,a}</filename></term> 177 <listitem> 178 <para>contains functions that provide data structures.</para> 179 <indexterm zone="nspr libplds4"> 180 <primary sortas="c-libplds4">libplds4.{so,a}</primary> 181 </indexterm> 182 </listitem> 183 </varlistentry> 184 144 185 </variablelist> 145 186
Note:
See TracChangeset
for help on using the changeset viewer.