summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-01-10 22:19:49 +0100
committerJeroen Roovers <jer@gentoo.org>2016-01-10 22:19:59 +0100
commit329af7a128929b02118fa41a540eac49ce4dc768 (patch)
tree35a71086ec18ce9540401b46f42d37d9a3ce30b1 /x11-drivers
parentapp-shells/bash-completion: Add patch to fix completion with escape character... (diff)
downloadgentoo-329af7a128929b02118fa41a540eac49ce4dc768.tar.gz
gentoo-329af7a128929b02118fa41a540eac49ce4dc768.tar.bz2
gentoo-329af7a128929b02118fa41a540eac49ce4dc768.zip
x11-drivers/nvidia-drivers: Clean up testing cruft.
Package-Manager: portage-2.2.26
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-361.16.ebuild7
1 files changed, 0 insertions, 7 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-361.16.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-361.16.ebuild
index 7789bd95c32..055c12e638c 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-361.16.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-361.16.ebuild
@@ -194,19 +194,15 @@ src_compile() {
donvidia() {
# Full path to library
nv_LIB="${1}"
-echo -n "$nv_LIB : "
# SOVER to use
nv_SOVER="$(scanelf -qF'%S#F' ${nv_LIB})"
-echo -n "$nv_SOVER : "
# Where to install
nv_DEST="${2}"
-echo -n "$nv_DEST : "
# Get just the library name
nv_LIBNAME=$(basename "${nv_LIB}")
-echo "$nv_LIBNAME"
if [[ "${nv_DEST}" ]]; then
exeinto ${nv_DEST}
@@ -217,18 +213,15 @@ echo "$nv_LIBNAME"
fi
# Install the library
-echo ${action} ${nv_LIB}
${action} ${nv_LIB} || die "failed to install ${nv_LIBNAME}"
# If the library has a SONAME and SONAME does not match the library name,
# then we need to create a symlink
if [[ ${nv_SOVER} ]] && ! [[ "${nv_SOVER}" = "${nv_LIBNAME}" ]]; then
-echo 1 dosym ${nv_LIBNAME} ${nv_DEST}/${nv_SOVER}
dosym ${nv_LIBNAME} ${nv_DEST}/${nv_SOVER} \
|| die "failed to create ${nv_DEST}/${nv_SOVER} symlink"
fi
-echo 2 dosym ${nv_LIBNAME} ${nv_DEST}/${nv_LIBNAME/.so*/.so}
dosym ${nv_LIBNAME} ${nv_DEST}/${nv_LIBNAME/.so*/.so} \
|| die "failed to create ${nv_LIBNAME/.so*/.so} symlink"
}