Ignore:
Timestamp:
Sep 6, 2006, 9:29:01 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
0de841f3
Parents:
2ca4197
Message:

Replace Perl FPIC patch with a sed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/perl.xml

    r2ca4197 r96d0fe5  
    2626    <title>Installation of Perl</title>
    2727
    28     <para os="p1">The following patch causes <filename>DynaLoader.a</filename>
     28    <para os="s1">The following sed causes <filename>DynaLoader.a</filename>
    2929    to be built with -fPIC so it can be linked into a shared library
    3030    later.</para>
    3131
    32 <screen os="p2"><userinput>patch -Np1 -i ../&perl-fpic-patch;</userinput></screen>
     32<screen os="s2"><userinput>sed -i Makefile.SH \
     33    -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
     34    -e "s@static_target='static'@static_target='static_pic'@g"</userinput></screen>
    3335
    3436    <para os="a00">Before starting to configure, create a basic
Note: See TracChangeset for help on using the changeset viewer.