freebsd-ports/cad/astk-serveur/files.client/patch-lib_init.tcl
Thierry Thomas e22be4275b Upgrade - endly! - to Code_Aster 13.4.0-3.
Notes:

- I have (not yet) succeeded to enable MFront in this version;

- it uses math/mumps-edf, repocopied from math/mumps;

- cad/scotch is now taken out of the aster tarball;

- french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca
	(the port cad/salome should be resurrected!)
2017-11-14 18:29:22 +00:00

19 lines
734 B
Tcl

--- lib/init.tcl.orig 2017-07-13 07:40:52 UTC
+++ lib/init.tcl
@@ -103,7 +103,7 @@ proc init_gene { root } {
if { $prefix == "/usr" } {
set prefix "/"
}
- set ashare::prefix $prefix
+ set ashare::prefix [file join $prefix "ASTK_SERV"]
set ashare::astkrc_ref [file join $ashare::prefix "etc" "codeaster" "astkrc"]
catch { set ashare::astkrc_ref [file join $env(ASTER_ETC) "codeaster" "astkrc"] }
@@ -683,6 +683,7 @@ proc init_pltf { } {
set astk::ihm(pltf,WIN32) "Windows"
set astk::ihm(pltf,P_LINUX) "Linux x86"
+ set astk::ihm(pltf,FREEBSD) "%%unamesm%%"
set astk::ihm(pltf,TRU64) "OSF1 TRU64"
set astk::ihm(pltf,SOLARIS) "Solaris"
set astk::ihm(pltf,SOLARIS64) "Solaris 64 bits"