mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add optional (WITH_ICONV) patch to convert between local and OEM charsets.
PR: 150699 Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org>
This commit is contained in:
parent
4adca64c85
commit
9f30b6ed73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261470
@ -36,6 +36,16 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
LOCAL_UNZIP+= -DUSE_SMITH_CODE
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ICONV)
|
||||
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
||||
PATCH_SITE_SUBDIR= nork
|
||||
PATCHFILES= unzip60-alt-iconv-utf8.patch
|
||||
PATCH_DIST_STRIP= -p1
|
||||
USE_ICONV= yes
|
||||
CFLAGS+= -I${LOCALBASE}/include -DNATIVE
|
||||
MAKE_ARGS+= LFLAGS1="-L${LOCALBASE}/lib -liconv"
|
||||
.endif
|
||||
|
||||
MAKE_ENV= LOCAL_UNZIP="${LOCAL_UNZIP}" \
|
||||
D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2
|
||||
|
||||
|
@ -4,3 +4,6 @@ SIZE (unzip60.tar.gz) = 1376845
|
||||
MD5 (unreduce_full.zip) = b7cde206d69b403e7551b9b0c25bd345
|
||||
SHA256 (unreduce_full.zip) = 1f4d93d2250dc1a1d1d2b8aac09d9989d4f9dd2cb0967373bf41fdf5f108cec1
|
||||
SIZE (unreduce_full.zip) = 2849
|
||||
MD5 (unzip60-alt-iconv-utf8.patch) = 4dcfb2084e9db5a3f411f470d92ab2a4
|
||||
SHA256 (unzip60-alt-iconv-utf8.patch) = 6abf9d5e538b948ddb43f11000162348ce46ac0fa93826e6c8edae4ffa488f00
|
||||
SIZE (unzip60-alt-iconv-utf8.patch) = 13369
|
||||
|
Loading…
Reference in New Issue
Block a user