diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-04-09 23:23:26 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-04-09 23:23:26 +0800 |
commit | 146d2c88ab525987c1db52fb0032a2e22c092cfb (patch) | |
tree | 48259057f5bc929307f82697c4eb55d5eb41eb92 | |
parent | bd312d1c52c61e88088325d745545bab5926ed22 (diff) | |
download | freebsd-ports-gnome-146d2c88ab525987c1db52fb0032a2e22c092cfb.tar.gz freebsd-ports-gnome-146d2c88ab525987c1db52fb0032a2e22c092cfb.tar.zst freebsd-ports-gnome-146d2c88ab525987c1db52fb0032a2e22c092cfb.zip |
do not build with slang on alpha (otherwise mc hangs in has_colors())
PR: 50555
-rw-r--r-- | misc/mc/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index b633c0436755..8bbd28962d10 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -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> |