summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-05-23 13:21:27 +0200
committerFabian Groffen <grobian@gentoo.org>2017-05-23 13:21:27 +0200
commit26e468fdc8f37e0195c847a93fd51da8e253567f (patch)
tree39e2939d7eab06e3bbe734b3c4fbec69d73e5489 /app-editors
parentdev-python/django-treebeard: Updated PYTHON_COMPAT (diff)
downloadgentoo-26e468fdc8f37e0195c847a93fd51da8e253567f.tar.gz
gentoo-26e468fdc8f37e0195c847a93fd51da8e253567f.tar.bz2
gentoo-26e468fdc8f37e0195c847a93fd51da8e253567f.zip
app-editors/nvi: fixed for and marked ~x64-macos
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nvi/nvi-1.81.6-r7.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-editors/nvi/nvi-1.81.6-r7.ebuild b/app-editors/nvi/nvi-1.81.6-r7.ebuild
index 7b4d84c7d6f2..053948184247 100644
--- a/app-editors/nvi/nvi-1.81.6-r7.ebuild
+++ b/app-editors/nvi/nvi-1.81.6-r7.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://garage.linux.student.kuleuven.be/~skimo/nvi/devel/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~x64-macos"
IUSE="perl tcl unicode"
CDEPEND=">=sys-libs/db-4.2.52_p5:=
@@ -60,6 +60,9 @@ src_configure() {
append-cppflags "-D_PATH_MSGCAT=\"\\\"${EPREFIX%/}/usr/share/vi/catalog/\\\"\""
append-cppflags -I"$(db_includedir)"
+ # Darwin doesn't have stropts.h, bug #619416
+ [[ ${CHOST} == *-darwin* ]] && export vi_cv_sys5_pty=no
+
pushd dist 2>/dev/null || die
econf \
--program-prefix=n \