do not build with slang on alpha (otherwise mc hangs in has_colors())

PR:		50555
This commit is contained in:
Max Khon 2003-04-09 15:23:26 +00:00
parent feac278b28
commit 28b97f62bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78669

View file

@ -15,6 +15,8 @@ MASTER_SITE_SUBDIR= utils/file/managers/mc/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Midnight Commander, a free Norton Commander Clone
.include <bsd.port.pre.mk>
LIB_DEPENDS= glib-2.0.200:${PORTSDIR}/devel/glib20 \
intl.4:${PORTSDIR}/devel/gettext
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
@ -34,6 +36,13 @@ PLIST_SUB= CHARSETS=""
PLIST_SUB= CHARSETS="@comment "
.endif
.if ${ARCH} == "alpha"
#
# something is wrong with slang on alpha: mc enters an infinite loop
# when calling has_colors() during terminal init (colors.c:250)
WITHOUT_SLANG= yes
.endif
.if defined(WITHOUT_SLANG)
CONFIGURE_ARGS+=--with-screen=ncurses
.else
@ -57,4 +66,4 @@ post-patch:
post-install:
@${LN} -sf mc ${PREFIX}/bin/midc
.include <bsd.port.mk>
.include <bsd.port.post.mk>