aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-05-29 19:16:57 +0800
committergarga <garga@FreeBSD.org>2006-05-29 19:16:57 +0800
commitc94134eb22d4db57723fd3dd3abe719cafc3e812 (patch)
treed31b137fb4fa06d054031414be0352db3c88d0a9
parentad50ed368c0bf8edee91b0b697646ef7a7a25fe3 (diff)
downloadfreebsd-ports-gnome-c94134eb22d4db57723fd3dd3abe719cafc3e812.tar.gz
freebsd-ports-gnome-c94134eb22d4db57723fd3dd3abe719cafc3e812.tar.zst
freebsd-ports-gnome-c94134eb22d4db57723fd3dd3abe719cafc3e812.zip
- Mark UTF8 option as IGNORE on 4.x, it generates an unusable lib because
lack of support for mbrtowc() and wcwidth() in libc [1] - Mark UTF8 option as EXPERIMENTAL since it seems to don't work so good in some cases PR: ports/97862 [1] Submitted by: Dan Lukes <dan@obluda.cz> [1]
-rw-r--r--devel/libslang/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index 86e1bd89e753..0ebc82cbf3d9 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -17,7 +17,7 @@ DISTNAME= slang-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= Routines for rapid alpha-numeric terminal applications development
-OPTIONS= UTF8 "Enable UTF-8 support" off
+OPTIONS= UTF8 "Enable UTF-8 support - EXPERIMENTAL" off
USE_BZIP2= yes
GNU_CONFIGURE= yes
@@ -37,6 +37,10 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
.if defined(WITH_UTF8)
+. if ${OSVERSION} < 500000
+IGNORE= UTF8 support doesn't work on FreeBSD < 5.x
+. endif
+
PATCH_SITES+= http://www.emaillab.org/mutt/tools/
PATCHFILES+= slang-1.4.8-utf8.diff.gz
PATCH_DIST_STRIP+= -p1