From 030bd107a891f57a28f77823aaeb7a7c5e459430 Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 17 Dec 2012 11:10:42 +0000 Subject: Using atomic gcc>=4 builtin function, not available for i386. Bump PKGREVISION. --- audio/taglib/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/taglib/Makefile b/audio/taglib/Makefile index ccae3e384d2..1d31e6aa2f9 100644 --- a/audio/taglib/Makefile +++ b/audio/taglib/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.29 2012/10/02 23:48:10 asau Exp $ +# $NetBSD: Makefile,v 1.30 2012/12/17 11:10:42 obache Exp $ # DISTNAME= taglib-1.8 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= http://cloud.github.com/downloads/taglib/taglib/ @@ -25,5 +26,14 @@ SUBST_STAGE.pc= pre-configure SUBST_SED.pc= -e 's|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g' SUBST_MESSAGE.pc= Fixing rpath in taglib-config. +.include "../../mk/compiler.mk" +# +# depends on builtin functions which enabled with i486 and later with GCC. +# +.if ${OPSYS} == "NetBSD" && && !empty(CC_VERSION:M[4-9]*) && !empty(MACHINE_ARCH:Mi386) +GNU_ARCH.i386= i486 +CFLAGS+= -march=i486 +.endif + .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3