Skip to content

Commit

Permalink
app-shells/dash: fix compilation on Solaris <=10, bug #657990
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/657990
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
grobian committed Jun 17, 2018
1 parent a85630e commit e9b10da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app-shells/dash/dash-0.5.10.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ src_configure() {
# don't redefine stat on Solaris
if [[ ${CHOST} == *-solaris* ]] ; then
export ac_cv_func_stat64=yes

# if your headers strictly adhere to POSIX, you'll need this too
[[ ${CHOST##*solaris2.} -le 10 ]] && append-cppflags -DNAME_MAX=255
fi
append-cppflags -DJOBS=$(usex libedit 1 0)
use static && append-ldflags -static
Expand Down

0 comments on commit e9b10da

Please sign in to comment.