summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-01-14 16:05:30 +0100
committerFabian Groffen <grobian@gentoo.org>2016-01-14 16:06:44 +0100
commit874e21dffadbfa6625373d9627f9df1123bc5a1d (patch)
tree009aa7a80e2ce3d74ef601d7d825d704173deb4d /app-misc/screen
parentsci-electronics/qelectrotech: version bump (diff)
downloadgentoo-874e21dffadbfa6625373d9627f9df1123bc5a1d.tar.gz
gentoo-874e21dffadbfa6625373d9627f9df1123bc5a1d.tar.bz2
gentoo-874e21dffadbfa6625373d9627f9df1123bc5a1d.zip
app-misc/screen: fix compilation on Darwin
Package-Manager: portage-2.2.20-prefix
Diffstat (limited to 'app-misc/screen')
-rw-r--r--app-misc/screen/screen-4.3.1-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-misc/screen/screen-4.3.1-r1.ebuild b/app-misc/screen/screen-4.3.1-r1.ebuild
index a4e04686ea9d..4237c22f2915 100644
--- a/app-misc/screen/screen-4.3.1-r1.ebuild
+++ b/app-misc/screen/screen-4.3.1-r1.ebuild
@@ -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
}