Changeset 4b4ce7f3


Ignore:
Timestamp:
02/10/2012 11:27:44 PM (12 years ago)
Author:
Andrew Benton <andy@…>
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:
3491d06
Parents:
cdb1b4b
Message:

use LIBS instead of a sed

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9359 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/gs.xml

    rcdb1b4b r4b4ce7f3  
    162162
    163163<screen><userinput>rm -rf jasper lcms zlib &amp;&amp;
    164 ./configure --prefix=/usr --enable-dynamic --with-system-libtiff &amp;&amp;
    165 sed -i '/^EXTRALIBS/s# -ldl# -lz#' Makefile &amp;&amp;
     164./configure --prefix=/usr --enable-dynamic --with-system-libtiff LIBS=-lz &amp;&amp;
    166165make</userinput></screen>
    167166
     
    216215    own version of <ulink url="http://www.openjpeg.org/">OpenJpeg</ulink> for
    217216    JPEG 2000 files <!-- I can't get it to compile using a system installed
    218     version of openjpeg. I'll come back to this, it seems the ghostscript
    219     version is quite old --> so we can all remove the jasper source. The
    220     default color management system is now <application>lcms2</application> so
    221     the <application>lcms</application> source is not needed.
     217    version of openjpeg. It seems the ghostscript version has been heavily
     218    modified... --> so we can all remove the jasper source. The default color
     219    management system is now <application>lcms2</application> so the
     220    <application>lcms</application> source is not needed.
    222221    <application>Zlib</application> was installed as part of LFS.</para>
    223222
     
    225224    not installed <xref linkend="libtiff"/>.</para>
    226225
    227     <para><command>sed -i '/^EXTRALIBS/s# -ldl# -lz#' Makefile</command>:
    228     This sed is needed to get it to link against the system installed
     226    <para><parameter>LIBS=-lz</parameter>: We use the LIBS variable to tell the
     227    linker (ld) to link against the system installed
    229228    <application>zlib</application>.</para>
    230 
    231     <para><option>--without-jbig2dec</option>: The <literal>JBIG2</literal>
    232     decompression code (used for some faxes) can be disabled by using this
    233     switch and removing the <filename class="directory">jbig2dec/</filename>
    234     source.</para>
    235229
    236230    <para><command>install -v -m644 base/*.h...</command>: Some packages
Note: See TracChangeset for help on using the changeset viewer.