aboutsummaryrefslogtreecommitdiffstats
path: root/devel/llvm33
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-06-13 02:37:03 +0800
committerbrooks <brooks@FreeBSD.org>2013-06-13 02:37:03 +0800
commit1c53b390c5d5827129423c9d714cd7fd9f2da457 (patch)
treee39b4237b9e747760347a51ac2290bca3a838758 /devel/llvm33
parent5f0cb2a15aba21e82454c2a3c47969c8713bd535 (diff)
downloadfreebsd-ports-gnome-1c53b390c5d5827129423c9d714cd7fd9f2da457.tar.gz
freebsd-ports-gnome-1c53b390c5d5827129423c9d714cd7fd9f2da457.tar.zst
freebsd-ports-gnome-1c53b390c5d5827129423c9d714cd7fd9f2da457.zip
Add a file that was missed when working around svn cp + post commit hook
weirdness. Submitted by: bdrewery
Diffstat (limited to 'devel/llvm33')
-rw-r--r--devel/llvm33/files/llvm-wrapper.sh.in10
1 files changed, 10 insertions, 0 deletions
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}" "${@}"