From 5bff14acbb6abecd09e1c5cc577a4bf9d3ec7fc3 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 5 Jan 2014 17:31:12 +0000 Subject: [PATCH] Add a sed to SConstruct in serf (upstream patch) to correct a wrong generation of the .pc file git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12521 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- networking/netlibs/serf.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/networking/netlibs/serf.xml b/networking/netlibs/serf.xml index 6f9545299b..ca0d71c74d 100644 --- a/networking/netlibs/serf.xml +++ b/networking/netlibs/serf.xml @@ -95,9 +95,10 @@ commands: -sed -i "/Append/s:RPATH=libdir,::" SConstruct && -sed -i "/Default/s:lib_static,::" SConstruct && -sed -i "/Alias/s:install_static,::" SConstruct && +sed -i "/Append/s:RPATH=libdir,::" SConstruct && +sed -i "/Default/s:lib_static,::" SConstruct && +sed -i "/Alias/s:install_static,::" SConstruct && +sed -i '/get.*_LIBS/s:)):, '\'\''&:' SConstruct && scons PREFIX=/usr @@ -116,9 +117,10 @@ scons PREFIX=/usr Command Explanations - sed -i "...": First command removes the runtime path - from a shared library and the last two commands disable building and - installing of the static library. + sed -i "...": The first command removes the runtime + path from a shared library, the next two commands disable building and + installing of the static library, and the last one corrects a bug + in the generated pkg-config file.