2007-01-07 16:02:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.41 2007/01/07 15:02:16 wiz Exp $
|
2002-08-23 13:39:27 +02:00
|
|
|
|
2006-09-01 08:02:23 +02:00
|
|
|
DISTNAME= libsndfile-1.0.17
|
2007-01-07 13:25:50 +01:00
|
|
|
PKGREVISION= 1
|
2002-08-23 13:39:27 +02:00
|
|
|
CATEGORIES= audio
|
2004-02-13 15:57:20 +01:00
|
|
|
MASTER_SITES= http://www.mega-nerd.com/libsndfile/
|
2002-08-23 13:39:27 +02:00
|
|
|
|
2007-01-07 16:02:16 +01:00
|
|
|
PATCHFILES= libsndfile-1.0.17+flac-1.1.3.patch.bz2
|
|
|
|
PATCH_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-02-13 15:57:20 +01:00
|
|
|
HOMEPAGE= http://www.mega-nerd.com/libsndfile/
|
2003-07-21 18:24:36 +02:00
|
|
|
COMMENT= Library for reading and writing audio files
|
2002-08-23 13:39:27 +02:00
|
|
|
|
2004-05-31 18:47:47 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-09-30 15:26:02 +02:00
|
|
|
USE_LIBTOOL= yes
|
2003-09-24 01:28:16 +02:00
|
|
|
PKGCONFIG_OVERRIDE= sndfile.pc.in
|
2005-09-30 15:26:02 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-10-18 15:26:12 +02:00
|
|
|
|
2004-05-04 00:19:08 +02:00
|
|
|
# This package compiles with gcc2, but its configure script doesn't know that
|
|
|
|
CONFIGURE_ENV+= ac_cv_c_struct_hack=yes
|
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= F77=${FALSE:Q}
|
2004-03-20 05:30:55 +01:00
|
|
|
|
2005-05-31 18:13:18 +02:00
|
|
|
.include "options.mk"
|
2002-10-18 15:26:12 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-11-23 20:02:43 +01:00
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
BUILDLINK_PASSTHRU_DIRS+= /Developer
|
|
|
|
.endif
|
|
|
|
|
2005-09-30 15:26:02 +02:00
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
2002-08-23 13:39:27 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|