openpkg/dot.bash_login

Sun, 03 Apr 2011 13:34:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 03 Apr 2011 13:34:55 +0200
changeset 337
f71e028eb3e2
child 428
f880f219c566
permissions
-rw-r--r--

Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.

Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.

michael@13 1 ##
michael@13 2 ## @l_prefix@/.bash_login -- Local Bash Login Script
michael@13 3 ##
michael@13 4
michael@13 5 # provide user and host information in default prompt
michael@13 6 PS1="\u@\h\$ "
michael@13 7
michael@13 8 # environment permissions
michael@13 9 umask 022
michael@13 10 ulimit -c 16384
michael@13 11
michael@13 12 # history functionality
michael@13 13 shopt -s histappend
michael@13 14 HISTSIZE=100
michael@13 15 HISTFILESIZE=100
michael@13 16
michael@13 17 # various additional variables
michael@13 18 export TMPDIR=/tmp
michael@13 19 export BLOCKSIZE=1024
michael@13 20
michael@13 21 # activate the bootstrapping Bourne-Shell
michael@13 22 # environment of the OpenPKG hierarchy
michael@13 23 eval `@l_prefix@/bin/openpkg rc --eval openpkg env`
michael@13 24
michael@13 25 # make sure some non-standard but usually
michael@13 26 # important executable directories are active
michael@13 27 test -d /usr/ccs/bin && PATH="$PATH:/usr/ccs/bin"
michael@13 28 test -d /usr/local/bin && PATH="$PATH:/usr/local/bin"
michael@13 29
michael@13 30 # initially adjust $PWD to symbolic path
michael@13 31 cd $HOME
michael@13 32
michael@13 33 # path to bash environment init script
michael@13 34 BASH_ENV=$HOME/.bashrc
michael@13 35
michael@13 36 # source the standard environment script
michael@13 37 . $BASH_ENV
michael@13 38

mercurial