[arch-commits] Commit in bash/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Nov 29 08:02:10 UTC 2010


    Date: Monday, November 29, 2010 @ 03:02:10
  Author: pierre
Revision: 101432

upgpkg: bash 4.1.009-3
try setting default path and bashrc

Modified:
  bash/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-29 07:57:46 UTC (rev 101431)
+++ PKGBUILD	2010-11-29 08:02:10 UTC (rev 101432)
@@ -5,7 +5,7 @@
 pkgname=bash
 _patchlevel=009 #prepare for some patches
 pkgver=4.1.$_patchlevel
-pkgrel=2
+pkgrel=3
 pkgdesc="The GNU Bourne Again shell"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -32,6 +32,12 @@
     patch -Np0 -i ${p}
   done
 
+  _bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin\"\'
+               -DSTANDARD_UTILS_PATH=\'\"/usr/bin:/bin:/usr/sbin:/sbin\"\'
+               -DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
+               -DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\')
+  export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
+
   ./configure --prefix=/usr --with-curses --enable-readline \
     --without-bash-malloc --with-installed-readline \
     --bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info




More information about the arch-commits mailing list