pkgsrc/misc/libcdio/Makefile
jlam 7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
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.
2005-08-10 20:56:10 +00:00

35 lines
944 B
Makefile

# $NetBSD: Makefile,v 1.24 2005/08/10 20:56:20 jlam Exp $
DISTNAME= libcdio-0.75
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/libcdio/
COMMENT= CD-ROM access library
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_TOOLS+= perl:run pkg-config
PKGCONFIG_OVERRIDE+= libcdio.pc.in
PKGCONFIG_OVERRIDE+= libcdio_cdda.pc.in
PKGCONFIG_OVERRIDE+= libcdio_paranoia.pc.in
PKGCONFIG_OVERRIDE+= libiso9660.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-versioned-libs
INFO_FILES= libcdio.info
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# XXX we just replace the freebsd module so save patches
pre-patch:
${CP} ${FILESDIR}/_cdio_netbsd.c ${WRKSRC}/lib/driver/FreeBSD/freebsd.c
.endif
.include "../../devel/popt/buildlink3.mk"
.include "../../audio/libcddb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"