Thu Oct 24 06:08:45 2013 UTC ()
fixes i486 magic condition.


(obache)
diff -r1.32 -r1.33 pkgsrc/audio/taglib/Makefile

cvs diff -r1.32 -r1.33 pkgsrc/audio/taglib/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/taglib/Makefile 2013/10/17 07:30:39 1.32
+++ pkgsrc/audio/taglib/Makefile 2013/10/24 06:08:44 1.33
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.32 2013/10/17 07:30:39 wiz Exp $ 1# $NetBSD: Makefile,v 1.33 2013/10/24 06:08:44 obache Exp $
2 2
3DISTNAME= taglib-1.9.1 3DISTNAME= taglib-1.9.1
4CATEGORIES= audio 4CATEGORIES= audio
5MASTER_SITES= http://taglib.github.io/releases/ 5MASTER_SITES= http://taglib.github.io/releases/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://taglib.github.io/ 8HOMEPAGE= http://taglib.github.io/
9COMMENT= Library for accessing id tags in various media files 9COMMENT= Library for accessing id tags in various media files
10LICENSE= gnu-lgpl-v2.1 OR mpl-1.1 10LICENSE= gnu-lgpl-v2.1 OR mpl-1.1
11 11
12USE_LANGUAGES= c c++ 12USE_LANGUAGES= c c++
13 13
14USE_CMAKE= YES 14USE_CMAKE= YES
@@ -18,20 +18,20 @@ USE_LIBTOOL= YES @@ -18,20 +18,20 @@ USE_LIBTOOL= YES
18PKGCONFIG_OVERRIDE= bindings/c/taglib_c.pc.cmake taglib.pc.cmake 18PKGCONFIG_OVERRIDE= bindings/c/taglib_c.pc.cmake taglib.pc.cmake
19REPLACE_SH= taglib-config.cmake 19REPLACE_SH= taglib-config.cmake
20 20
21SUBST_CLASSES+= pc 21SUBST_CLASSES+= pc
22SUBST_FILES.pc= taglib-config.cmake 22SUBST_FILES.pc= taglib-config.cmake
23SUBST_STAGE.pc= pre-configure 23SUBST_STAGE.pc= pre-configure
24SUBST_SED.pc= -e 's|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g' 24SUBST_SED.pc= -e 's|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g'
25SUBST_MESSAGE.pc= Fixing rpath in taglib-config. 25SUBST_MESSAGE.pc= Fixing rpath in taglib-config.
26 26
27.include "../../mk/compiler.mk" 27.include "../../mk/compiler.mk"
28# 28#
29# depends on builtin functions which enabled with i486 and later with GCC. 29# depends on builtin functions which enabled with i486 and later with GCC.
30# 30#
31.if ${OPSYS} == "NetBSD" && !empty(CC_VERSION:M[4-9]*) && !empty(MACHINE_ARCH:Mi386) 31.if ${OPSYS} == "NetBSD" && !empty(CC_VERSION:Mgcc-[4-9]*) && !empty(MACHINE_ARCH:Mi386)
32GNU_ARCH.i386= i486 32GNU_ARCH.i386= i486
33CFLAGS+= -march=i486 33CFLAGS+= -march=i486
34.endif 34.endif
35 35
36.include "../../devel/zlib/buildlink3.mk" 36.include "../../devel/zlib/buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 37.include "../../mk/bsd.pkg.mk"