bash: add sbin to default PATH

This commit is contained in:
nia 2021-04-23 09:43:30 +00:00
parent cedc192fd9
commit 4f1bbc2443

View file

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.96 2021/01/04 10:39:23 wiz Exp $
# $NetBSD: Makefile,v 1.97 2021/04/23 09:43:30 nia Exp $
BASH_VERSION= 5.1
BASH_PATCHLEVEL= 4
DISTNAME= bash-${BASH_VERSION}
PKGNAME= bash-${BASH_VERSION}.${BASH_PATCHLEVEL}
PKGREVISION= 1
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/}
@ -21,7 +22,7 @@ TEXINFO_REQD= 4.1
GNU_CONFIGURE= yes
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
CONFIGURE_ARGS= LOCAL_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:M*:Q}
CPPFLAGS+= -DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:${PREFIX}/bin:/usr/local/bin\""
CPPFLAGS+= -DDEFAULT_PATH_VALUE="\"/sbin:/usr/sbin:/usr/bin:/bin:${PREFIX}/sbin:${PREFIX}/bin:/usr/local/sbin:/usr/local/bin\""
TEST_TARGET= test
PKGCONFIG_OVERRIDE= support/bash.pc.in