pkgsrc/net/libIDL/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

35 lines
848 B
Makefile

# $NetBSD: Makefile,v 1.36 2005/08/10 20:56:22 jlam Exp $
#
DISTNAME= libIDL-0.8.5
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libIDL/0.8/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= CORBA Interface Definition Language parser
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
USE_TOOLS+= bison flex pkg-config
CONFIGURE_ENV+= HAVE_YACC=yes
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE= libIDL-2.0.pc.in
INFO_FILES= libIDL2.info
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
OPSYSVARS+= CONFIGURE_ENV
CONFIGURE_ENV.SunOS+= CPP=/usr/lib/cpp
.endif
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"