mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-shells/dash-0.5.11.2: fix compilation on Solaris
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user