pkgsrc/misc/kdeaccessibility3/Makefile
jlam 7820875fff 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.
2005-08-10 20:56:10 +00:00

29 lines
826 B
Makefile

# $NetBSD: Makefile,v 1.10 2005/08/10 20:56:20 jlam Exp $
DISTNAME= kdeaccessibility-${_KDE_VERSION}
CATEGORIES= misc
COMMENT= Accessibility support for the KDE integrated X11 desktop
.include "../../meta-pkgs/kde3/Makefile.kde3"
USE_TOOLS+= pkg-config
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.kdeaccessibility
PKG_SUPPORTED_OPTIONS= gstreamer
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgstreamer)
CONFIGURE_ARGS+= --enable-kttsd-gstreamer
.include "../../multimedia/gstreamer/buildlink3.mk"
.include "../../multimedia/gst-plugins/buildlink3.mk"
PLIST_SUBST+= HAVE_GST=""
.else
PLIST_SUBST+= HAVE_GST="@comment "
.endif
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"