pkg/13929 where xml2-config lies about the location of the libxml2 headers. "xml2-config --cflags" now returns: -I/usr/pkg/include/libxml2/libxml -I/usr/pkg/include which correctly finds the libxml2 headers. When using buildlink, the config wrapper xml2-config returns: -I${BUILDLINK_DIR}/include/libxml -I/usr/pkg/include which correctly finds the libxml2 headers in their buildlinked locations.
23 lines
595 B
Makefile
23 lines
595 B
Makefile
# $NetBSD: Makefile,v 1.3 2001/09/14 06:53:34 jlam Exp $
|
|
|
|
DISTNAME= libxml2-2.4.2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/libxml/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://xmlsoft.org/
|
|
COMMENT= Xml parser library for GNOME
|
|
|
|
USE_BUILDLINK_ONLY= yes
|
|
REPLACE_BUILDLINK= xml2-config xml2Conf.sh
|
|
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_DIR}
|
|
|
|
.include "../../devel/zlib/buildlink.mk"
|
|
.include "../../converters/libiconv/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|