pkgsrc/x11/gtkglarea2/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

25 lines
653 B
Makefile

# $NetBSD: Makefile,v 1.12 2005/08/10 20:56:29 jlam Exp $
#
DISTNAME= gtkglarea-1.99.0
PKGNAME= ${DISTNAME:S/-/2-/}
PKGREVISION= 4
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtkglarea/1.99/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= OpenGL widget for the GTK+2 GUI toolkit
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= gtkgl-2.0.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-lib-GL
CONFIGURE_ARGS+= --with-GL-prefix=${BUILDLINK_PREFIX.MesaLib}
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"