From e37edceabbd7f9ce28b8a56d1518a1ab9eeed743 Mon Sep 17 00:00:00 2001 From: lemmi Date: Wed, 4 Mar 2015 22:43:19 +0100 Subject: [PATCH] bash: add -DSYS_BASHRC to CFLAGS this enables bash to source a system-wide bashrc. currently set to /etc/bash/bashrc. --- srcpkgs/bash/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/bash/template b/srcpkgs/bash/template index cfacf381aad..6e0db49f6f7 100644 --- a/srcpkgs/bash/template +++ b/srcpkgs/bash/template @@ -3,7 +3,7 @@ pkgname=bash _bash_distver=4.3 _bash_patchlevel=033 version=${_bash_distver}.${_bash_patchlevel} -revision=2 +revision=3 wrksrc=${pkgname}-${_bash_distver} build_pie=yes build_style=gnu-configure @@ -18,6 +18,7 @@ homepage="http://www.gnu.org/software/bash/bash.html" license="GPL-3" distfiles="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}.tar.gz" checksum=afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4 +CFLAGS="-DSYS_BASHRC='\"/etc/bash/bashrc\"'" pre_configure() { local url="http://ftp.gnu.org/gnu/bash/bash-${_bash_distver}-patches"