|
|
# and prefer that on the assumption that it is a more generic one. | # and prefer that on the assumption that it is a more generic one. |
local baselib=`echo "$lib" | sed 's,\(/[^/]*\)/.*\(/[^/]*\)$,\1\2,'` | local baselib=`echo "$lib" | sed 's,\(/[^/]*\)/.*\(/[^/]*\)$,\1\2,'` |
test -f "$baselib" && lib=$baselib | test -f "$baselib" && lib=$baselib |
add_file "$lib" |
#<<< 20070511/gj |
done |
# On x86_64, a shared lib placed in /lib will not be found by the loader |
fi |
# on remote host chroot enviroment for some reason (, which is unknown to me). |
|
# Therefore, /lib/... will be mapped to /lib64/... (, if such exists). |
|
local liblxxxvi=`echo "$lib" | sed 's./lib/./lib64/.g'` |
|
test -f "$liblxxxvi" && lib=$liblxxxvi |
|
#>>> |
|
add_file "$lib" |
|
done |
|
fi |
fi | fi |
fi | fi |
} | } |
|
|
| |
epatch "${FILESDIR}"/${PV}-dont-create-symlinks.patch | epatch "${FILESDIR}"/${PV}-dont-create-symlinks.patch |
epatch "${FILESDIR}"/${PV}-conf.d-verbosity.patch | epatch "${FILESDIR}"/${PV}-conf.d-verbosity.patch |
|
use amd64 && epatch "${FILESDIR}"/${PV}-use-lib64.patch |
| |
use amd64 && append-flags -fPIC -DPIC | use amd64 && append-flags -fPIC -DPIC |
| |