aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-04-09 15:23:26 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-04-09 15:23:26 +0000
commit28b97f62bc5b7a2d00749e23133c5dddff7d8a03 (patch)
tree198405cbc3ba445e3b7f6ef77319fb2232c276f7
parentfeac278b28367908b1bb4f683f0abf554dd27100 (diff)
downloadports-28b97f62bc5b7a2d00749e23133c5dddff7d8a03.tar.gz
ports-28b97f62bc5b7a2d00749e23133c5dddff7d8a03.zip
Notes
-rw-r--r--misc/mc/Makefile11
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>