aboutsummaryrefslogtreecommitdiff
path: root/math/octave/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-07-23 23:41:24 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-07-23 23:41:24 +0000
commitb85aa01a83b7b8719fd914d7f4737552eccac3e5 (patch)
tree78416c014b5f0bcf1eb1ce4900d88543eae9109c /math/octave/files
parent2a3231a7abecb2a548072fa57a4c62b157698dee (diff)
downloadports-b85aa01a83b7b8719fd914d7f4737552eccac3e5.tar.gz
ports-b85aa01a83b7b8719fd914d7f4737552eccac3e5.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>
Notes
Notes: svn path=/head/; revision=85496
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 000000000000..5910ee467fee
--- /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 "$@"