From c4172aa7cd3c15c4c2f11c5e5cd63d4a915b0d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nagy=20K=C3=A1roly=20G=C3=A1briel?= Date: Tue, 3 May 2016 18:27:22 +0300 Subject: [PATCH] readline: added some guards for building. --- base/readline/readline.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/base/readline/readline.conf b/base/readline/readline.conf index 6e05ee69f..915947f56 100644 --- a/base/readline/readline.conf +++ b/base/readline/readline.conf @@ -23,6 +23,13 @@ pkg_readline_preconf() { echo "Applying patch ${x##*/} ..." patch -p0 < "$x" done +# remove RPATH from shared objects (FS#14366) +sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf + +# avoid issues with moving libs while installing +sed -i '/MV.*old/d' Makefile.in +sed -i '/{OLDSUFF}/c:' support/shlib-install + } hook_add preconf 5 "pkg_readline_preconf"