summaryrefslogtreecommitdiff
path: root/audio/libmad
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-10 20:56:10 +0000
committerjlam <jlam>2005-08-10 20:56:10 +0000
commitb3f78ea1dc65ca87b470169b6f46da18d36bf91b (patch)
tree4d8a0ec4125811389b8272e1e14bc12417f9448c /audio/libmad
parent6cc0e59139f460170ef1bc22cecf04a148381243 (diff)
downloadpkgsrc-b3f78ea1dc65ca87b470169b6f46da18d36bf91b.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 'audio/libmad')
-rw-r--r--audio/libmad/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile
index d6b748b1d40..6014e43a698 100644
--- a/audio/libmad/Makefile
+++ b/audio/libmad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/07/21 16:29:43 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2005/08/10 20:56:11 jlam Exp $
#
DISTNAME= libmad-0.15.1b
@@ -17,6 +17,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
+USE_TOOLS+= pkg-config
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}
@@ -31,5 +32,4 @@ post-build:
post-install:
${INSTALL_DATA} ${WRKDIR}/mad.pc ${PREFIX}/lib/pkgconfig
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"