| @@ -1,33 +1,30 @@ | | | @@ -1,33 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.71 2017/04/19 13:32:12 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.72 2017/04/26 22:10:37 maya Exp $ |
2 | | | 2 | |
3 | DISTNAME= libsndfile-1.0.28 | | 3 | DISTNAME= libsndfile-1.0.28 |
4 | CATEGORIES= audio | | 4 | CATEGORIES= audio |
5 | MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/ | | 5 | MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/ |
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 | LICENSE= gnu-lgpl-v2.1 | | 10 | LICENSE= gnu-lgpl-v2.1 |
11 | | | 11 | |
12 | USE_LANGUAGES= c c++ | | 12 | USE_LANGUAGES= c c++ |
13 | USE_LIBTOOL= yes | | 13 | USE_LIBTOOL= yes |
14 | USE_TOOLS+= gmake pkg-config | | 14 | USE_TOOLS+= gmake pkg-config |
15 | PKGCONFIG_OVERRIDE= sndfile.pc.in | | 15 | PKGCONFIG_OVERRIDE= sndfile.pc.in |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | | | 17 | |
18 | # This package compiles with gcc2, but its configure script doesn't know that | | | |
19 | CONFIGURE_ENV+= ac_cv_c_struct_hack=yes | | | |
20 | | | | |
21 | TEST_TARGET= check | | 18 | TEST_TARGET= check |
22 | | | 19 | |
23 | .include "options.mk" | | 20 | .include "options.mk" |
24 | | | 21 | |
25 | OPSYSVARS+= BUILDLINK_PASSTHRU_DIRS | | 22 | OPSYSVARS+= BUILDLINK_PASSTHRU_DIRS |
26 | | | 23 | |
27 | BUILDLINK_PASSTHRU_DIRS.Darwin+= /Developer | | 24 | BUILDLINK_PASSTHRU_DIRS.Darwin+= /Developer |
28 | | | 25 | |
29 | .if !empty(PKGSRC_COMPILER:Msunpro) | | 26 | .if !empty(PKGSRC_COMPILER:Msunpro) |
30 | CXXFLAGS+= -features=extensions | | 27 | CXXFLAGS+= -features=extensions |
31 | .endif | | 28 | .endif |
32 | | | 29 | |
33 | .include "../../audio/flac/buildlink3.mk" | | 30 | .include "../../audio/flac/buildlink3.mk" |