app-misc/screen: fix compilation on Darwin

Package-Manager: portage-2.2.20-prefix
This commit is contained in:
Fabian Groffen
2016-01-14 16:05:30 +01:00
parent ea3d3cc5db
commit 874e21dffa

View File

@@ -54,6 +54,10 @@ src_prepare() {
doc/screen.1 \
|| die
if [[ ${CHOST} == *-darwin* ]] ; then
sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
fi
# reconfigure
eautoreconf
}