From cf9663fb00d03e9d5281c320bd986ca3190c7048 Mon Sep 17 00:00:00 2001 From: edd Date: Thu, 20 Dec 2012 22:44:37 +0000 Subject: [PATCH] Unbreak build on big endian arches. This fix was supposed to be in the big update, but went missing somewhere. OK sthen@ --- print/texlive/base/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/print/texlive/base/Makefile b/print/texlive/base/Makefile index 973c1201dbf..3a90abcc747 100755 --- a/print/texlive/base/Makefile +++ b/print/texlive/base/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.62 2012/12/17 20:28:04 edd Exp $ +# $OpenBSD: Makefile,v 1.63 2012/12/20 22:44:37 edd Exp $ COMMENT = base binaries for TeXLive typesetting distribution @@ -55,8 +55,14 @@ CPPFLAGS += -DU_PLATFORM=U_PF_BSD # Big endian ICU bug # http://tug.org/pipermail/tlbuild/2012q2/002266.html +.include +.if ${PROPERTIES:Mbe} +CPPFLAGS += -DU_IS_BIG_ENDIAN=1 +.endif + CONFIGURE_ENV += TL_MAKE=${GMAKE} \ CPPFLAGS="${CPPFLAGS}" + # Can't build in same dir WRKBUILD = ${WRKSRC}/Work CONFIGURE_SCRIPT = ../configure