diff options
author | garga <garga@FreeBSD.org> | 2006-05-29 19:16:57 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-05-29 19:16:57 +0800 |
commit | c94134eb22d4db57723fd3dd3abe719cafc3e812 (patch) | |
tree | d31b137fb4fa06d054031414be0352db3c88d0a9 | |
parent | ad50ed368c0bf8edee91b0b697646ef7a7a25fe3 (diff) | |
download | freebsd-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/Makefile | 6 |
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 |