mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
devel/icu: use sh(1) globbing for endian-sensitive path
This should unbreak build on armeb, mipshf, mipsn32, mips64hf without having to worry about future architectures.
This commit is contained in:
parent
ea46afc5f4
commit
c06bfe7892
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434325
@ -33,16 +33,7 @@ WRKSRC= ${WRKDIR}/icu/source
|
||||
ICUMAJOR= ${PORTVERSION:C/\..*//}
|
||||
PLIST_SUB+= ICUMAJOR=${ICUMAJOR} ICUVER=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.ifndef PKGNAMESUFFIX
|
||||
.if ${ARCH} == "mips" || ${ARCH} == "mips64" || ${ARCH} == "sparc64" \
|
||||
|| ${ARCH} == "powerpc" || ${ARCH} == "powerpc64"
|
||||
PLIST_FILES+= %%DATADIR%%/%%ICUVER%%/icudt%%ICUMAJOR%%b.dat
|
||||
.else
|
||||
PLIST_FILES+= %%DATADIR%%/%%ICUVER%%/icudt%%ICUMAJOR%%l.dat
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/g* \
|
||||
${STAGEDIR}${PREFIX}/bin/*conv \
|
||||
@ -50,6 +41,9 @@ post-install:
|
||||
${STAGEDIR}${PREFIX}/bin/derb \
|
||||
${STAGEDIR}${PREFIX}/bin/pkgdata
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
|
||||
# Filename varies by endianness: icudt<major>b.dat vs. icudt<major>l.dat
|
||||
@(cd ${STAGEDIR}${PREFIX} && ${ECHO_CMD} \
|
||||
${DATADIR_REL}/${PORTVERSION}/icudt*.dat >>${TMPPLIST})
|
||||
.endif # PKGNAMESUFFIX
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user