| @@ -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 | |
3 | DISTNAME= taglib-1.9.1 | | 3 | DISTNAME= taglib-1.9.1 |
4 | CATEGORIES= audio | | 4 | CATEGORIES= audio |
5 | MASTER_SITES= http://taglib.github.io/releases/ | | 5 | MASTER_SITES= http://taglib.github.io/releases/ |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://taglib.github.io/ | | 8 | HOMEPAGE= http://taglib.github.io/ |
9 | COMMENT= Library for accessing id tags in various media files | | 9 | COMMENT= Library for accessing id tags in various media files |
10 | LICENSE= gnu-lgpl-v2.1 OR mpl-1.1 | | 10 | LICENSE= gnu-lgpl-v2.1 OR mpl-1.1 |
11 | | | 11 | |
12 | USE_LANGUAGES= c c++ | | 12 | USE_LANGUAGES= c c++ |
13 | | | 13 | |
14 | USE_CMAKE= YES | | 14 | USE_CMAKE= YES |
| @@ -18,20 +18,20 @@ USE_LIBTOOL= YES | | | @@ -18,20 +18,20 @@ USE_LIBTOOL= YES |
18 | PKGCONFIG_OVERRIDE= bindings/c/taglib_c.pc.cmake taglib.pc.cmake | | 18 | PKGCONFIG_OVERRIDE= bindings/c/taglib_c.pc.cmake taglib.pc.cmake |
19 | REPLACE_SH= taglib-config.cmake | | 19 | REPLACE_SH= taglib-config.cmake |
20 | | | 20 | |
21 | SUBST_CLASSES+= pc | | 21 | SUBST_CLASSES+= pc |
22 | SUBST_FILES.pc= taglib-config.cmake | | 22 | SUBST_FILES.pc= taglib-config.cmake |
23 | SUBST_STAGE.pc= pre-configure | | 23 | SUBST_STAGE.pc= pre-configure |
24 | SUBST_SED.pc= -e 's|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g' | | 24 | SUBST_SED.pc= -e 's|-L\([ ]*[^ ]*\)|${COMPILER_RPATH_FLAG}\1 -L\1|g' |
25 | SUBST_MESSAGE.pc= Fixing rpath in taglib-config. | | 25 | SUBST_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) |
32 | GNU_ARCH.i386= i486 | | 32 | GNU_ARCH.i386= i486 |
33 | CFLAGS+= -march=i486 | | 33 | CFLAGS+= -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" |