aboutsummaryrefslogtreecommitdiffstats
path: root/math/octave/files
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-07-24 07:41:24 +0800
committermaho <maho@FreeBSD.org>2003-07-24 07:41:24 +0800
commit3543206609d915a043aa0c4020aee0e15f007c7e (patch)
treeb1cda1d848249c8430eb1305ac2b1edc09289295 /math/octave/files
parent049e1b35e79096e1e46ce9c62ccdd3b865217dd4 (diff)
downloadfreebsd-ports-graphics-3543206609d915a043aa0c4020aee0e15f007c7e.tar.gz
freebsd-ports-graphics-3543206609d915a043aa0c4020aee0e15f007c7e.tar.zst
freebsd-ports-graphics-3543206609d915a043aa0c4020aee0e15f007c7e.zip
Add simple wrapper to avoid the error
/usr/libexec/ld-elf.so.1: Shared object "liboctinterp.so" not found PR: 54567,54653 Submitted by: Jonathan <j.e.drews@worldnet.att.net>
Diffstat (limited to 'math/octave/files')
-rw-r--r--math/octave/files/octave8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/octave/files/octave b/math/octave/files/octave
new file mode 100644
index 00000000000..5910ee467fe
--- /dev/null
+++ b/math/octave/files/octave
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+OCTAVE_EXEC=%%PREFIX%%/bin/octave-%%OCTAVE_VERSION%%
+LD_LIBRARY_PATH=%%PREFIX%%/lib/octave-%%OCTAVE_VERSION%%; export LD_LIBRARY_PATH
+
+exec $OCTAVE_EXEC "$@"