diff options
Diffstat (limited to 'math/wingz3/files')
-rw-r--r-- | math/wingz3/files/Wingz3.in (renamed from math/wingz3/files/Wingz3) | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/math/wingz3/files/Wingz3 b/math/wingz3/files/Wingz3.in index 9f6f7d7505b9..f4f49b86e3a8 100644 --- a/math/wingz3/files/Wingz3 +++ b/math/wingz3/files/Wingz3.in @@ -3,13 +3,21 @@ # The following combines the effects of ${WINGZ3}/bin/WingzPro # and the ${WINGZ3}/bin/wzenv (yes, it does set the LD_RUN_PATH, # while exporting the SHLIB_PATH). -WINGZ3=_X11BASE_/Wingz3 +WINGZ3=%%PREFIX%%/Wingz3 WZUSER="IISC" WZCOMPANY="IISC" WZPLATFORM=LINUX LD_RUN_PATH=$WINGZ3/lib/$WZPLATFORM:$LD_RUN_PATH +if [ -z "$LD_LIBRARY_PATH" ] +then + export LD_LIBRARY_PATH=$WINGZ3/lib/libc5 +else + LD_LIBRARY_PATH=$WINGZ3/lib/libc5:$LD_LIBRARY_PATH +fi WZBSDECHO=TRUE +export XLOCALEDIR=/usr/share/X11/locale # Under LINUXBASE + export WINGZ3 WZCOMPANY WZUSER WZPLATFORM SHLIB_PATH WZBSDECHO # Invoke the binary directly: |