Skip to content
/ gentoo Public
forked from gentoo/gentoo

Commit

Permalink
app-shells/dash-0.5.11.2: fix compilation on Solaris
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Fabian Groffen <[email protected]>
  • Loading branch information
grobian committed Sep 27, 2020
1 parent 2ce6a5d commit 6b44035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app-shells/dash/dash-0.5.11.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ src_prepare() {
}

src_configure() {
# don't redefine stat on Solaris
if [[ ${CHOST} == *-solaris* ]] ; then
# don't redefine stat, open, dirent, etc. on Solaris
export ac_cv_func_stat64=yes
export ac_cv_func_open64=yes

# if your headers strictly adhere to POSIX, you'll need this too
[[ ${CHOST##*solaris2.} -le 10 ]] && append-cppflags -DNAME_MAX=255
Expand Down

0 comments on commit 6b44035

Please sign in to comment.