summaryrefslogtreecommitdiff
path: root/repo/system/icu.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
commite8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch)
tree8ec5946d18961404efb12700267e10cffffa6db7 /repo/system/icu.xibuild
parent79c82d8fc0a4f6618429a0373bb832afd105543e (diff)
made packages work with musl
Diffstat (limited to 'repo/system/icu.xibuild')
-rw-r--r--repo/system/icu.xibuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/repo/system/icu.xibuild b/repo/system/icu.xibuild
index f578298..918982f 100644
--- a/repo/system/icu.xibuild
+++ b/repo/system/icu.xibuild
@@ -1,15 +1,18 @@
#!/bin/sh
-MAKEDEPS="python"
+MAKEDEPS="python gcc"
DEPS="bash"
PKG_VER=70.1
SOURCE=https://github.com/unicode-org/icu/releases/download/release-$(echo $PKG_VER | sed 's/\./-/g')/icu4c-$(echo $PKG_VER | sed 's/\./_/g')-src.tgz
DESC="International Components for Unicode library"
-build () {
+prepare () {
cd source &&
+ sed -i -e 's,DU_HAVE_STRTOD_L=1,DU_HAVE_STRTOD_L=0,' configure
+}
+build () {
./configure --prefix=/usr &&
make