Index: devel/llvm33/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm33/files/llvm-wrapper.sh.in +++ devel/llvm33/files/llvm-wrapper.sh.in @@ -4,7 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(basename $(realpath $0)) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: devel/llvm34/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm34/files/llvm-wrapper.sh.in +++ devel/llvm34/files/llvm-wrapper.sh.in @@ -4,7 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(basename $(realpath $0)) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: devel/llvm35/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm35/files/llvm-wrapper.sh.in +++ devel/llvm35/files/llvm-wrapper.sh.in @@ -4,7 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(basename $(realpath $0)) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: devel/llvm38/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm38/files/llvm-wrapper.sh.in +++ devel/llvm38/files/llvm-wrapper.sh.in @@ -4,7 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(basename $(realpath $0)) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: devel/llvm39/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm39/files/llvm-wrapper.sh.in +++ devel/llvm39/files/llvm-wrapper.sh.in @@ -4,7 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(basename $(realpath $0)) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: devel/llvm40/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm40/files/llvm-wrapper.sh.in +++ devel/llvm40/files/llvm-wrapper.sh.in @@ -4,7 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(basename $(realpath $0)) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: devel/llvm50/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm50/files/llvm-wrapper.sh.in +++ devel/llvm50/files/llvm-wrapper.sh.in @@ -4,7 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" -tool=$(basename $0) +tool=$(basename $(realpath $0)) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ "${tool}" "${@}" Index: devel/llvm60/files/llvm-wrapper.sh.in =================================================================== --- devel/llvm60/files/llvm-wrapper.sh.in +++ devel/llvm60/files/llvm-wrapper.sh.in @@ -4,6 +4,7 @@ LLVM_PREFIX="%%LLVM_PREFIX%%" LLVM_SUFFIX="%%LLVM_SUFFIX%%" +tool=$(realpath $0) tool=${0##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \