Mercurial > mxe-octave
view octave-wrapper.in @ 3968:d0d5dacd1941
octave: add msys2 patch
* src/mingw-default-octave-1-msys-fixes.patch: new file
* src/mingw-default-octave-1-msys-fixes.patch: new file
* dist-files.mk: add new patches
* src/default-octave.mk: add ac_cv_search_tputs=-ltermcap configure option for native mingw
* src/octave.mk: add ac_cv_search_tputs=-ltermcap configure option for native mingw
author | John Donoghue |
---|---|
date | Tue, 16 Jun 2015 11:43:16 -0400 |
parents | d7758bf3793e |
children | 788dc298ec00 |
line wrap: on
line source
#! /bin/sh OCTAVE_HOME="" if [ -z "$OCTAVE_HOME" ]; then echo "you must edit $0 to set OCTAVE_HOME" 1>&2 exit 1; fi PATH="$OCTAVE_HOME/bin/:$PATH" LD_LIBRARY_PATH="$OCTAVE_HOME/lib:$OCTAVE_HOME/lib64:$OCTAVE_HOME/lib/octave/@OCTAVE_VERSION@" TERMINFO="$OCTAVE_HOME/share/terminfo" TERM="vt100" FONTCONFIG_PATH="$OCTAVE_HOME/etc/fonts" GNUPLOT_DRIVER_DIR="$OCTAVE_HOME/libexec/gnuplot/@GNUPLOT_MAJOR_MINOR_VERSION@" GNUPLOT_SHARE_DIR="$OCTAVE_HOME/share/gnuplot/@GNUPLOT_MAJOR_MINOR_VERSION@" GNUPLOT_PS_DIR="$GNUPLOT_SHARE_DIR/PostScript" export OCTAVE_HOME export PATH export LD_LIBRARY_PATH export TERMINFO export TERM export FONTCONFIG_PATH export GNUPLOT_DRIVER_DIR export GNUPLOT_SHARE_DIR export GNUPLOT_PS_DIR exec "$OCTAVE_HOME/bin/@PROGRAM_NAME@-@OCTAVE_VERSION@.real" "$@"