| @@ -1,37 +1,37 @@ | | | @@ -1,37 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.49 2009/03/04 16:47:05 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.50 2009/05/02 17:25:03 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= libsndfile-1.0.19 | | 3 | DISTNAME= libsndfile-1.0.19 |
4 | CATEGORIES= audio | | 4 | CATEGORIES= audio |
5 | MASTER_SITES= http://www.mega-nerd.com/libsndfile/ | | 5 | MASTER_SITES= http://www.mega-nerd.com/libsndfile/ |
6 | | | 6 | |
7 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
8 | HOMEPAGE= http://www.mega-nerd.com/libsndfile/ | | 8 | HOMEPAGE= http://www.mega-nerd.com/libsndfile/ |
9 | COMMENT= Library for reading and writing audio files | | 9 | COMMENT= Library for reading and writing audio files |
10 | | | 10 | |
11 | PKG_DESTDIR_SUPPORT= user-destdir | | 11 | PKG_DESTDIR_SUPPORT= user-destdir |
12 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 12 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++ | | 14 | USE_LANGUAGES= c c++ |
15 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
16 | USE_TOOLS= pkg-config | | 16 | USE_TOOLS= pkg-config |
17 | PKGCONFIG_OVERRIDE= sndfile.pc.in | | 17 | PKGCONFIG_OVERRIDE= sndfile.pc.in |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | | | 19 | |
20 | MAKE_JOBS_SAFE= no | | 20 | MAKE_JOBS_SAFE= no |
21 | | | 21 | |
22 | SUBST_CLASSES+= vorbis | | 22 | SUBST_CLASSES+= vorbis |
23 | SUBST_FILES.vorbis= configure | | 23 | SUBST_FILES.vorbis= configure |
24 | SUBST_SED.vorbis= "s/1\.2\.1/1.2.0/g" | | 24 | SUBST_SED.vorbis= -e "s/1\.2\.1/1.2.0/g" |
25 | SUBST_STAGE.vorbis= pre-configure | | 25 | SUBST_STAGE.vorbis= pre-configure |
26 | SUBST_MESSAGE.vorbis= Allowing libvorbis-1.2.0. | | 26 | SUBST_MESSAGE.vorbis= Allowing libvorbis-1.2.0. |
27 | | | 27 | |
28 | # This package compiles with gcc2, but its configure script doesn't know that | | 28 | # This package compiles with gcc2, but its configure script doesn't know that |
29 | CONFIGURE_ENV+= ac_cv_c_struct_hack=yes | | 29 | CONFIGURE_ENV+= ac_cv_c_struct_hack=yes |
30 | | | 30 | |
31 | .include "../../mk/bsd.prefs.mk" | | 31 | .include "../../mk/bsd.prefs.mk" |
32 | | | 32 | |
33 | .include "options.mk" | | 33 | .include "options.mk" |
34 | | | 34 | |
35 | .if ${OPSYS} == "Darwin" | | 35 | .if ${OPSYS} == "Darwin" |
36 | BUILDLINK_PASSTHRU_DIRS+= /Developer | | 36 | BUILDLINK_PASSTHRU_DIRS+= /Developer |
37 | .endif | | 37 | .endif |