| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.125 2019/05/04 20:30:34 wiedi Exp $ | | 1 | # $NetBSD: Makefile,v 1.126 2019/05/13 14:55:05 martin Exp $ |
2 | | | 2 | |
3 | DISTNAME= icu4c-64_2-src | | 3 | DISTNAME= icu4c-64_2-src |
4 | PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g} | | 4 | PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g} |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= textproc | | 6 | CATEGORIES= textproc |
7 | MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/ | | 7 | MASTER_SITES= http://download.icu-project.org/files/icu4c/${PKGVERSION_NOREV}/ |
8 | EXTRACT_SUFX= .tgz | | 8 | EXTRACT_SUFX= .tgz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.icu-project.org/ | | 11 | HOMEPAGE= http://www.icu-project.org/ |
12 | COMMENT= Robust and full-featured Unicode services | | 12 | COMMENT= Robust and full-featured Unicode services |
13 | LICENSE= mit | | 13 | LICENSE= mit |
14 | | | 14 | |
| @@ -91,26 +91,30 @@ PLIST_SUBST+= MH_NAME=mh-qnx | | | @@ -91,26 +91,30 @@ PLIST_SUBST+= MH_NAME=mh-qnx |
91 | # For unknown systems, set the filename to mh-unknown so that the user | | 91 | # For unknown systems, set the filename to mh-unknown so that the user |
92 | # gets a warning about missing files. | | 92 | # gets a warning about missing files. |
93 | PLIST_SUBST+= MH_NAME=mh-unknown | | 93 | PLIST_SUBST+= MH_NAME=mh-unknown |
94 | .endif | | 94 | .endif |
95 | | | 95 | |
96 | PKGCONFIG_OVERRIDE+= config/icu-i18n.pc | | 96 | PKGCONFIG_OVERRIDE+= config/icu-i18n.pc |
97 | PKGCONFIG_OVERRIDE+= config/icu-io.pc | | 97 | PKGCONFIG_OVERRIDE+= config/icu-io.pc |
98 | PKGCONFIG_OVERRIDE+= config/icu-le.pc | | 98 | PKGCONFIG_OVERRIDE+= config/icu-le.pc |
99 | PKGCONFIG_OVERRIDE+= config/icu-lx.pc | | 99 | PKGCONFIG_OVERRIDE+= config/icu-lx.pc |
100 | PKGCONFIG_OVERRIDE+= config/icu-uc.pc | | 100 | PKGCONFIG_OVERRIDE+= config/icu-uc.pc |
101 | PKGCONFIG_OVERRIDE+= config/icu.pc | | 101 | PKGCONFIG_OVERRIDE+= config/icu.pc |
102 | PKGCONFIG_OVERRIDE_STAGE= post-build | | 102 | PKGCONFIG_OVERRIDE_STAGE= post-build |
103 | | | 103 | |
| | | 104 | # work around ICU-20533 (build failure on big endian machines) |
| | | 105 | post-configure: |
| | | 106 | ${MKDIR} ${WRKSRC}/data/out |
| | | 107 | |
104 | # expect builtin gcc atomic functions for gcc>=4.1 | | 108 | # expect builtin gcc atomic functions for gcc>=4.1 |
105 | # (source/common/putilimp.h) | | 109 | # (source/common/putilimp.h) |
106 | .if !empty(CC_VERSION:Mgcc-*) && \ | | 110 | .if !empty(CC_VERSION:Mgcc-*) && \ |
107 | (empty(CC_VERSION:Mgcc-4.0*) && empty(CC_VERSION:Mgcc-[0-3].*)) | | 111 | (empty(CC_VERSION:Mgcc-4.0*) && empty(CC_VERSION:Mgcc-[0-3].*)) |
108 | . if ${MACHINE_ARCH} == "i386" | | 112 | . if ${MACHINE_ARCH} == "i386" |
109 | CFLAGS+= -march=i486 | | 113 | CFLAGS+= -march=i486 |
110 | . endif | | 114 | . endif |
111 | .endif | | 115 | .endif |
112 | | | 116 | |
113 | .if ${OPSYS} == "Cygwin" | | 117 | .if ${OPSYS} == "Cygwin" |
114 | INSTALL_UNSTRIPPED= yes | | 118 | INSTALL_UNSTRIPPED= yes |
115 | SO_MAJOR= ${PKGVERSION_NOREV:R} | | 119 | SO_MAJOR= ${PKGVERSION_NOREV:R} |
116 | . for l in data i18n io le lx test tu uc | | 120 | . for l in data i18n io le lx test tu uc |