summaryrefslogtreecommitdiff
path: root/misc/libcdio
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-10 20:56:10 +0000
committerjlam <jlam>2005-08-10 20:56:10 +0000
commit4deddec7cb25319298bf73b1fafbb654175a865c (patch)
tree4d8a0ec4125811389b8272e1e14bc12417f9448c /misc/libcdio
parent9210d617d0c1b31f1f4fab84de4f8025b609fc18 (diff)
downloadpkgsrc-4deddec7cb25319298bf73b1fafbb654175a865c.tar.gz
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.
Diffstat (limited to 'misc/libcdio')
-rw-r--r--misc/libcdio/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/libcdio/Makefile b/misc/libcdio/Makefile
index ca4480185f5..5f54a042546 100644
--- a/misc/libcdio/Makefile
+++ b/misc/libcdio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2005/08/09 12:56:18 adam Exp $
+# $NetBSD: Makefile,v 1.24 2005/08/10 20:56:20 jlam Exp $
DISTNAME= libcdio-0.75
CATEGORIES= misc
@@ -12,7 +12,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
-USE_TOOLS+= perl:run
+USE_TOOLS+= perl:run pkg-config
PKGCONFIG_OVERRIDE+= libcdio.pc.in
PKGCONFIG_OVERRIDE+= libcdio_cdda.pc.in
PKGCONFIG_OVERRIDE+= libcdio_paranoia.pc.in
@@ -30,7 +30,6 @@ pre-patch:
${CP} ${FILESDIR}/_cdio_netbsd.c ${WRKSRC}/lib/driver/FreeBSD/freebsd.c
.endif
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../audio/libcddb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"