diff options
author | obache <obache@pkgsrc.org> | 2012-12-17 11:10:42 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-12-17 11:10:42 +0000 |
commit | 030bd107a891f57a28f77823aaeb7a7c5e459430 (patch) | |
tree | 758f08c7a461263e2fe2f6183666b122eb64d482 /audio | |
parent | 28b1f8a0f1066f739b033362e60f463a307fd8ee (diff) | |
download | pkgsrc-030bd107a891f57a28f77823aaeb7a7c5e459430.tar.gz |
Using atomic gcc>=4 builtin function, not available for i386.
Bump PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/taglib/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
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" |