summaryrefslogtreecommitdiff
path: root/multimedia/libmpeg2
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-08-10 20:56:10 +0000
committerjlam <jlam@pkgsrc.org>2005-08-10 20:56:10 +0000
commitb1f207194f3f2d4cb73651c67948873344bf1d1f (patch)
tree4d8a0ec4125811389b8272e1e14bc12417f9448c /multimedia/libmpeg2
parent05aabdaad3c4d3e4d043bc1a2aaafaf17d881208 (diff)
downloadpkgsrc-b1f207194f3f2d4cb73651c67948873344bf1d1f.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 'multimedia/libmpeg2')
-rw-r--r--multimedia/libmpeg2/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile
index c496ee8e583..096f7e8a2bb 100644
--- a/multimedia/libmpeg2/Makefile
+++ b/multimedia/libmpeg2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/07/21 16:29:54 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2005/08/10 20:56:20 jlam Exp $
DISTNAME= mpeg2dec-0.4.0b
PKGNAME= libmpeg2-0.4.0b
@@ -16,7 +16,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/mpeg2dec-0.4.0
GNU_CONFIGURE= yes
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libmpeg2/convert/libmpeg2convert.pc.in
@@ -25,5 +25,4 @@ PKGCONFIG_OVERRIDE+= libmpeg2/libmpeg2.pc.in
CONFIGURE_ARGS+= --enable-shared
.include "../../devel/SDL/buildlink3.mk"
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"