gmime: correct ISO-10646 prefered name in musl

This commit is contained in:
Đoàn Trần Công Danh 2020-07-18 11:15:26 +07:00
parent 6d96e1c536
commit 8455ed10f0
2 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1,5 @@
/* This is an auto-generated header, DO NOT EDIT! */
#define ICONV_ISO_INT_FORMAT "iso-%u-%u"
#define ICONV_ISO_STR_FORMAT "iso-%u-%s"
#define ICONV_10646 "UCS-4BE"

View file

@ -1,7 +1,7 @@
# Template file for 'gmime'
pkgname=gmime
version=2.6.23
revision=3
revision=4
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --disable-mono --enable-smime
@ -27,8 +27,12 @@ if [ "$CROSS_BUILD" ]; then
fi
pre_build() {
if [ "$CROSS_BUILD" ]; then
cp ${FILESDIR}/*.h ${wrksrc}
if [ -z "$CROSS_BUILD" ]; then
:
elif [ "$XBPS_TARGET_LIBC" = musl ]; then
cp ${FILESDIR}/musl-iconv-detect.h ${wrksrc}/iconv-detect.h
else
cp ${FILESDIR}/iconv-detect.h ${wrksrc}
fi
}