freebsd-ports/math/scilab/files/patch-etc-librarypath.xml
Max Brazhnikov a45c830a83 Use old version of jgraphx to fix build
Fix crash when running demos [1]

PR:		ports/149659 [1]
Submitted by:	Otacílio de Araújo Ramos Neto <otacilio.neto at ee.ufcg.edu.br> [1], maintainer
Approved by:	Rob Farmer (maintainer)
2010-09-04 12:31:51 +00:00

21 lines
643 B
XML

--- etc/librarypath.xml.orig 2010-08-18 22:12:51.000000000 -0700
+++ etc/librarypath.xml 2010-08-18 22:15:41.000000000 -0700
@@ -29,16 +29,11 @@
<path value="$SCILAB/modules/xpad/.libs"/>
<path value="$SCILAB/.libs"/>
-<!-- Default path to the JNI classes under some Linux (JoGL under Debian for example) -->
-<path value="/usr/lib/jni/"/>
-
<!-- Make install with prefix -->
<path value="$SCILAB/../../lib/scilab/"/>
<!-- Standard path -->
-<path value="/usr/lib/scilab/"/>
-
-<!-- Standard path for 64 bits -->
-<path value="/usr/lib64/scilab/"/>
+<path value="%%JAVALIBDIR%%/"/>
+<path value="%%PREFIX%%/lib/"/>
</librarypaths>