pkgsrc/security/xmlsec1/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
913 B
Makefile

# $NetBSD: Makefile,v 1.7 2005/08/10 20:56:23 jlam Exp $
#
DISTNAME= xmlsec1-1.2.6
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.aleksey.com/xmlsec/download/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.aleksey.com/xmlsec/
COMMENT= XML signature and encryption library
USE_TOOLS+= pkg-config
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
#PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-gnutls.pc.in
#PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-nss.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec-openssl.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/xmlsec.pc.in
GNU_CONFIGURE= yes
#CONFIGURE_ARGS+= --without-openssl
CONFIGURE_ARGS+= --without-gnutls
.include "../../security/openssl/buildlink3.mk"
#.include "../../security/gnutls/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"