Wed Feb 13 15:46:15 2013 UTC ()
Pullup ticket #4062 - requested by he
textproc/icu: build fix
Revisions pulled up:
- textproc/icu/hacks.mk 1.1
---
Module Name: pkgsrc
Committed By: jmcneill
Date: Fri Feb 1 03:44:22 UTC 2013
Added Files:
pkgsrc/textproc/icu: hacks.mk
Log Message:
Fix NetBSD build with gcc <= 4.5 on arm (missing builtin atomics).
(tron)
diff -r0 -r1.1.2.2 pkgsrc/textproc/icu/hacks.mk
# $NetBSD: hacks.mk,v 1.1.2.2 2013/02/13 15:46:14 tron Exp $
.if !defined(ICU_HACKS_MK)
ICU_HACKS_MK= # defined
# NetBSD arm gcc <= 4.5 missing builtin atomics
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm"
. if !empty(CC_VERSION:Mgcc-4.[0-5].*)
PKG_HACKS+= arm-gcc-atomics
CFLAGS+= -DU_HAVE_GCC_ATOMICS=0
. endif
.endif
.endif