diff options
Diffstat (limited to 'app-misc/screen')
-rw-r--r-- | app-misc/screen/screen-4.6.1.ebuild | 7 | ||||
-rw-r--r-- | app-misc/screen/screen-4.6.2-r1.ebuild | 5 | ||||
-rw-r--r-- | app-misc/screen/screen-4.6.2.ebuild | 7 |
3 files changed, 14 insertions, 5 deletions
diff --git a/app-misc/screen/screen-4.6.1.ebuild b/app-misc/screen/screen-4.6.1.ebuild index 47cbadae8946..ee99e929f824 100644 --- a/app-misc/screen/screen-4.6.1.ebuild +++ b/app-misc/screen/screen-4.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -59,10 +59,13 @@ src_prepare() { doc/screen.1 \ || die - if [[ ${CHOST} == *-darwin* ]] ; then + if [[ ${CHOST} == *-darwin* ]] || use elibc_musl ; then sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die fi + # disable musl dummy headers for utmp[x] + use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" + # reconfigure eautoreconf } diff --git a/app-misc/screen/screen-4.6.2-r1.ebuild b/app-misc/screen/screen-4.6.2-r1.ebuild index 3d5650e31470..5c29400df81f 100644 --- a/app-misc/screen/screen-4.6.2-r1.ebuild +++ b/app-misc/screen/screen-4.6.2-r1.ebuild @@ -58,10 +58,13 @@ src_prepare() { doc/screen.1 \ || die - if [[ ${CHOST} == *-darwin* ]] ; then + if [[ ${CHOST} == *-darwin* ]] || use elibc_musl ; then sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die fi + # disable musl dummy headers for utmp[x] + use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" + # reconfigure eautoreconf } diff --git a/app-misc/screen/screen-4.6.2.ebuild b/app-misc/screen/screen-4.6.2.ebuild index 5de7a9460c3f..74566a73346f 100644 --- a/app-misc/screen/screen-4.6.2.ebuild +++ b/app-misc/screen/screen-4.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -60,10 +60,13 @@ src_prepare() { doc/screen.1 \ || die - if [[ ${CHOST} == *-darwin* ]] ; then + if [[ ${CHOST} == *-darwin* ]] || use elibc_musl ; then sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die fi + # disable musl dummy headers for utmp[x] + use elibc_musl && append-cppflags "-D_UTMP_H -D_UTMPX_H" + # reconfigure eautoreconf } |