Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2017 00:29:07 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434325 - head/devel/icu
Message-ID:  <201702180029.v1I0T7Yk094948@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Feb 18 00:29:07 2017
New Revision: 434325
URL: https://svnweb.freebsd.org/changeset/ports/434325

Log:
  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.

Modified:
  head/devel/icu/Makefile   (contents, props changed)

Modified: head/devel/icu/Makefile
==============================================================================
--- head/devel/icu/Makefile	Fri Feb 17 23:35:36 2017	(r434324)
+++ head/devel/icu/Makefile	Sat Feb 18 00:29:07 2017	(r434325)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702180029.v1I0T7Yk094948>