7820875fff
file's sole purpose was to provide a dependency on pkg-config and set some environment variables. Instead, turn pkg-config into a "tool" in the tools framework, where the pkg-config wrapper automatically adds PKG_CONFIG_LIBDIR to the environment before invoking the real pkg-config. For all package Makefiles that included pkg-config/buildlink3.mk, remove that inclusion and replace it with USE_TOOLS+=pkg-config.
31 lines
773 B
Makefile
31 lines
773 B
Makefile
# $NetBSD: Makefile,v 1.20 2005/08/10 20:56:12 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= speex-1.0.5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.speex.org/download/
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://www.speex.org/
|
|
COMMENT= Open-source, patent-free voice codec
|
|
|
|
USE_LIBTOOL= YES
|
|
GNU_CONFIGURE= YES
|
|
PKGCONFIG_OVERRIDE= speex.pc.in
|
|
USE_TOOLS+= pkg-config
|
|
|
|
# previous versions of the package were called Speex
|
|
CONFLICTS= Speex-[0-9]*
|
|
|
|
CONFIGURE_ARGS+= --with-ogg-dir="${BUILDLINK_PREFIX.libogg}"
|
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
|
CONFIGURE_ENV+= F77=${FALSE}
|
|
|
|
BUILDLINK_TRANSFORM+= l:gnugetopt:getopt
|
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
|
|
.include "../../mk/ossaudio.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|