summaryrefslogtreecommitdiff
path: root/devel/libgphoto2
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
commit7820875fff0afd6ebe69c1b4bdbb85e3952a0f1f (patch)
tree4d8a0ec4125811389b8272e1e14bc12417f9448c /devel/libgphoto2
parent50dfb1eae01aa73de001b1546218ed750ef35575 (diff)
downloadpkgsrc-7820875fff0afd6ebe69c1b4bdbb85e3952a0f1f.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 'devel/libgphoto2')
-rw-r--r--devel/libgphoto2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/libgphoto2/Makefile b/devel/libgphoto2/Makefile
index 8e9789d3a2e..6e4c088d432 100644
--- a/devel/libgphoto2/Makefile
+++ b/devel/libgphoto2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2005/07/21 16:29:48 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2005/08/10 20:56:15 jlam Exp $
#
DISTNAME= libgphoto2-2.1.6
@@ -11,6 +11,7 @@ COMMENT= Digital camera access library
CONFLICTS+= gphoto<2.1.1
+USE_TOOLS+= pkg-config
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE+= libgphoto2/libgphoto2.pc.in
USE_PKGLOCALEDIR= YES
@@ -26,6 +27,5 @@ PLIST_SUBST+= HAVE_LIBUSB="@comment"
.include "../../devel/libusb/buildlink3.mk"
PLIST_SUBST+= HAVE_LIBUSB=""
.endif
-.include "../../devel/pkg-config/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"