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