summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-07-23 19:29:39 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-07-23 19:29:39 +0100
commit49f4c0dbb1dff5e1d119884651c3f98e412555f8 (patch)
tree04185e10162014ae4c9baa02034449d29aaa212c
parente1aef9140ab9792c07816b3116fb89403708b8e9 (diff)
net-print/cnijfilter : dirty hack to stop it from spamming ldconfig
-rw-r--r--net-print/cnijfilter/cnijfilter-4.10-r2.ebuild40
1 files changed, 38 insertions, 2 deletions
diff --git a/net-print/cnijfilter/cnijfilter-4.10-r2.ebuild b/net-print/cnijfilter/cnijfilter-4.10-r2.ebuild
index 2ec0a7b1..9c9fe741 100644
--- a/net-print/cnijfilter/cnijfilter-4.10-r2.ebuild
+++ b/net-print/cnijfilter/cnijfilter-4.10-r2.ebuild
@@ -35,8 +35,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.00-6-headers.patch
)
-src_prepare()
-{
+src_prepare() {
local arc=64
[[ x${ABI} == xx86 ]] && arc=32
sed -e "s,cnijlgmon2_LDADD =,cnijlgmon2_LDADD = -L../../com/libs_bin${arc}," \
@@ -45,3 +44,40 @@ src_prepare()
ecnij_src_prepare
}
+src_install() {
+ ecnij_src_install
+
+ # dirty hack to stop cnijfilter spamming ldconfig
+ for i in libcnbpcmcm43{1..8}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.8.20.1 ${ED}usr/lib32/${i}
+ done
+ for i in libcnbpcnclapi43{1..8}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.4.1.0 ${ED}usr/lib32/${i}
+ done
+ for i in libcnbpcnclbjcmd43{1..8}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.3.3.0 ${ED}usr/lib32/${i}
+ done
+ for i in libcnbpcnclui43{1..8}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.4.1.0 ${ED}usr/lib32/${i}
+ done
+ for i in libcnbpess43{1..8}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.4.3.1 ${ED}usr/lib32/${i}
+ done
+ for i in libcnbpo43{1,2}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.1.0.3 ${ED}usr/lib32/${i}
+ done
+ for i in libcnbpo43{3,6,8}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.1.0.1 ${ED}usr/lib32/${i}
+ done
+ for i in libcnbpo43{4,5,7}.so; do
+ rm -rf ${ED}usr/lib32/${i}
+ ln -sf ${ED}usr/lib32/${i}.1.0.4 ${ED}usr/lib32/${i}
+ done
+}