From 1442d774635c736969812155a643048f47a4e279 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 16 May 2009 23:49:13 +0000 Subject: [PATCH] Update bzip2 installation to install relative symbolic links git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter06/bzip2.xml | 4 ++++ general.ent | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 45bc38934..a0da0b413 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,11 @@ 2009-05-16 + + [bdubbs] - Make symbolic links installed by bzip2 relative. + Fixes + #2396. + [matthew] - Add creation of /etc/modprobe.conf to prevent ohci_hcd and diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml index 779f3702e..63af5e009 100644 --- a/chapter06/bzip2.xml +++ b/chapter06/bzip2.xml @@ -47,6 +47,10 @@ patch -Np1 -i ../&bzip2-docs-patch; + The following command ensures installation of symbolic links are relative: + +sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile + Prepare Bzip2 for compilation with: make -f Makefile-libbz2_so diff --git a/general.ent b/general.ent index 13b8bd895..341dfdf5c 100644 --- a/general.ent +++ b/general.ent @@ -2,7 +2,7 @@ - +