From owner-svn-ports-all@FreeBSD.ORG Sun May 31 18:51:28 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F29AB4F; Sun, 31 May 2015 18:51:28 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CD3B16C7; Sun, 31 May 2015 18:51:28 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4VIpR8U009314; Sun, 31 May 2015 18:51:27 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4VIpRhM009313; Sun, 31 May 2015 18:51:27 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201505311851.t4VIpRhM009313@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Sun, 31 May 2015 18:51:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388126 - head/devel/icu X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2015 18:51:28 -0000 Author: sbruno Date: Sun May 31 18:51:27 2015 New Revision: 388126 URL: https://svnweb.freebsd.org/changeset/ports/388126 Log: Fix builds on big-endian architectures by declaring a CPPFLAG used internally by the source to handle big vs little endianess. PR: 199471 Modified: head/devel/icu/Makefile Modified: head/devel/icu/Makefile ============================================================================== --- head/devel/icu/Makefile Sun May 31 17:48:59 2015 (r388125) +++ head/devel/icu/Makefile Sun May 31 18:51:27 2015 (r388126) @@ -47,6 +47,11 @@ PLIST_SUB+= ICUMAJOR=${ICUMAJOR} ICUVER= THREADS_CONFIGURE_ON= --enable-weak-threads THREADS_CONFIGURE_OFF= --enable-threads=no +# For all Bigendian systems, set CPPFLAGS so that icu compiles and checks correctly +.if ${ARCH} == "mips" || ${ARCH} == "mips64" || ${ARCH} == "sparc64" || ${ARCH} == "powerpc" || ${ARCH} == "powerpc64" +CPPFLAGS+= -DU_IS_BIG_ENDIAN=1 +.endif + .include post-patch: