freebsd-ports/lang/clang33/files/llvm-wrapper.sh.in
Brooks Davis de84f46849 Install scan-view dependencies.
Tell the user the correct scan-view to run.

PR:		193955
Sponsored by:	DARPA, AFRL
2014-09-27 01:25:57 +00:00

11 lines
322 B
Bash

#!/bin/sh
# $FreeBSD$
LLVM_PREFIX="%%LLVM_PREFIX%%"
LLVM_SUFFIX="%%LLVM_SUFFIX%%"
tool=$(basename $0)
tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}"
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${LLVM_PREFIX}/lib/python" \
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \
"${tool}" "${@}"