From 1c53b390c5d5827129423c9d714cd7fd9f2da457 Mon Sep 17 00:00:00 2001 From: brooks Date: Wed, 12 Jun 2013 18:37:03 +0000 Subject: Add a file that was missed when working around svn cp + post commit hook weirdness. Submitted by: bdrewery --- devel/llvm33/files/llvm-wrapper.sh.in | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 devel/llvm33/files/llvm-wrapper.sh.in (limited to 'devel/llvm33') diff --git a/devel/llvm33/files/llvm-wrapper.sh.in b/devel/llvm33/files/llvm-wrapper.sh.in new file mode 100644 index 000000000000..0a460f3156e5 --- /dev/null +++ b/devel/llvm33/files/llvm-wrapper.sh.in @@ -0,0 +1,10 @@ +#!/bin/sh +# $FreeBSD$ + +LLVM_PREFIX="%%LLVM_PREFIX%%" +LLVM_SUFFIX="%%LLVM_SUFFIX%%" + +tool=$(basename $0) +tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" +LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ + "${tool}" "${@}" -- cgit