7820875fff
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.
31 lines
817 B
Makefile
31 lines
817 B
Makefile
# $NetBSD: Makefile,v 1.25 2005/08/10 20:56:15 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= libgphoto2-2.1.6
|
|
CATEGORIES= devel graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://gphoto.sourceforge.net/proj/libgphoto2/
|
|
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
|
|
GNU_CONFIGURE= YES
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.if ${OPSYS} == "SunOS"
|
|
PLIST_SUBST+= HAVE_LIBUSB="@comment"
|
|
.else
|
|
.include "../../devel/libusb/buildlink3.mk"
|
|
PLIST_SUBST+= HAVE_LIBUSB=""
|
|
.endif
|
|
.include "../../graphics/libexif/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|