diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/bison/Makefile | 4 | ||||
-rw-r--r-- | devel/bison/hacks.mk | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile index 8b4923e8099..76153b01ccd 100644 --- a/devel/bison/Makefile +++ b/devel/bison/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.80 2012/01/15 13:19:29 obache Exp $ +# $NetBSD: Makefile,v 1.81 2012/01/19 13:32:05 tsutsui Exp $ DISTNAME= bison-2.5 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=bison/} EXTRACT_SUFX= .tar.bz2 diff --git a/devel/bison/hacks.mk b/devel/bison/hacks.mk index 53ebcc33cdd..d910b96d72d 100644 --- a/devel/bison/hacks.mk +++ b/devel/bison/hacks.mk @@ -1,4 +1,4 @@ -# $NetBSD: hacks.mk,v 1.2 2007/02/22 19:26:20 wiz Exp $ +# $NetBSD: hacks.mk,v 1.3 2012/01/19 13:32:05 tsutsui Exp $ .if !defined(BISON_HACKS_MK) BISON_HACKS_MK= defined @@ -15,4 +15,11 @@ PKG_HACKS+= optimisation BUILDLINK_TRANSFORM+= rm:-O[0-9]* .endif +### gcc-4.5.3 in NetBSD/arm 5.99.59 also breaks bison in net/libIDL. +### -O seems enough for workaround in this case. +.if !empty(MACHINE_PLATFORM:MNetBSD-*-arm) && !empty(CC_VERSION:Mgcc-4.5.*) +PKG_HACKS+= optimisation +BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-O +.endif + .endif # BISON_HACKS_MK |