mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
- Starting from FreeBSD 4.6 we have nl_langinfo(CODESET) supported. Therefore
we must map codeset name rather than locale name on recent systems. - Use %%DOCSDIR%%
This commit is contained in:
parent
7b2fdaff15
commit
f63553817a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91137
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= libiconv
|
||||
PORTVERSION= 1.9.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= converters devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -0,0 +1,36 @@
|
||||
--- libcharset/lib/config.charset.orig Thu Jan 30 03:43:59 2003
|
||||
+++ libcharset/lib/config.charset Tue Oct 14 15:20:56 2003
|
||||
@@ -246,8 +246,8 @@
|
||||
#echo "sun_eu_greek ?" # what is this?
|
||||
echo "UTF-8 UTF-8"
|
||||
;;
|
||||
- freebsd* | os2*)
|
||||
- # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore
|
||||
+ freebsd4.[0-5] | os2*)
|
||||
+ # FreeBSD up to 4.6 doesn't have nl_langinfo(CODESET); therefore
|
||||
# localcharset.c falls back to using the full locale name
|
||||
# from the environment variables.
|
||||
# Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just
|
||||
@@ -282,6 +282,22 @@
|
||||
echo "ja_JP.SJIS SHIFT_JIS"
|
||||
echo "ja_JP.Shift_JIS SHIFT_JIS"
|
||||
echo "ko_KR.EUC EUC-KR"
|
||||
+ ;;
|
||||
+ freebsd*)
|
||||
+ echo "US-ASCII ASCII"
|
||||
+ echo "ISO8859-1 ISO-8859-1"
|
||||
+ echo "ISO8859-2 ISO-8859-2"
|
||||
+ echo "ISO8859-4 ISO-8859-4"
|
||||
+ echo "ISO8859-5 ISO-8859-5"
|
||||
+ echo "ISO8859-7 ISO-8859-7"
|
||||
+ echo "ISO8859-9 ISO-8859-9"
|
||||
+ echo "ISO8859-13 ISO-8859-13"
|
||||
+ echo "ISO8859-15 ISO-8859-15"
|
||||
+ echo "eucCN GB2312"
|
||||
+ echo "eucJP EUC-JP"
|
||||
+ echo "eucKR EUC-KR"
|
||||
+ echo "Big5 BIG5"
|
||||
+ echo "SJIS SHIFT_JIS"
|
||||
;;
|
||||
netbsd*)
|
||||
echo "646 ASCII"
|
@ -9,8 +9,8 @@ lib/libiconv.a
|
||||
lib/libiconv.so
|
||||
lib/libiconv.so.3
|
||||
libdata/charset.alias
|
||||
share/doc/libiconv/iconv.1.html
|
||||
share/doc/libiconv/iconv.3.html
|
||||
share/doc/libiconv/iconv_close.3.html
|
||||
share/doc/libiconv/iconv_open.3.html
|
||||
@dirrm share/doc/libiconv
|
||||
%%DOCSDIR%%/iconv.1.html
|
||||
%%DOCSDIR%%/iconv.3.html
|
||||
%%DOCSDIR%%/iconv_close.3.html
|
||||
%%DOCSDIR%%/iconv_open.3.html
|
||||
@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user