head 1.13; access; symbols pkgsrc-2013Q2:1.13.0.54 pkgsrc-2013Q2-base:1.13 pkgsrc-2012Q4:1.13.0.52 pkgsrc-2012Q4-base:1.13 pkgsrc-2011Q4:1.13.0.50 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q2:1.13.0.48 pkgsrc-2011Q2-base:1.13 pkgsrc-2009Q4:1.13.0.46 pkgsrc-2009Q4-base:1.13 pkgsrc-2008Q4:1.13.0.44 pkgsrc-2008Q4-base:1.13 pkgsrc-2008Q3:1.13.0.42 pkgsrc-2008Q3-base:1.13 cube-native-xorg:1.13.0.40 cube-native-xorg-base:1.13 pkgsrc-2008Q2:1.13.0.38 pkgsrc-2008Q2-base:1.13 pkgsrc-2008Q1:1.13.0.36 pkgsrc-2008Q1-base:1.13 pkgsrc-2007Q4:1.13.0.34 pkgsrc-2007Q4-base:1.13 pkgsrc-2007Q3:1.13.0.32 pkgsrc-2007Q3-base:1.13 pkgsrc-2007Q2:1.13.0.30 pkgsrc-2007Q2-base:1.13 pkgsrc-2007Q1:1.13.0.28 pkgsrc-2007Q1-base:1.13 pkgsrc-2006Q4:1.13.0.26 pkgsrc-2006Q4-base:1.13 pkgsrc-2006Q3:1.13.0.24 pkgsrc-2006Q3-base:1.13 pkgsrc-2006Q2:1.13.0.22 pkgsrc-2006Q2-base:1.13 pkgsrc-2006Q1:1.13.0.20 pkgsrc-2006Q1-base:1.13 pkgsrc-2005Q4:1.13.0.18 pkgsrc-2005Q4-base:1.13 pkgsrc-2005Q3:1.13.0.16 pkgsrc-2005Q3-base:1.13 pkgsrc-2005Q2:1.13.0.14 pkgsrc-2005Q2-base:1.13 pkgsrc-2005Q1:1.13.0.12 pkgsrc-2005Q1-base:1.13 pkgsrc-2004Q4:1.13.0.10 pkgsrc-2004Q4-base:1.13 pkgsrc-2004Q3:1.13.0.8 pkgsrc-2004Q3-base:1.13 pkgsrc-2004Q2:1.13.0.6 pkgsrc-2004Q2-base:1.13 pkgsrc-2004Q1:1.13.0.4 pkgsrc-2004Q1-base:1.13 pkgsrc-2003Q4:1.13.0.2 pkgsrc-2003Q4-base:1.13 netbsd-1-6:1.11.0.8 netbsd-1-6-RELEASE-base:1.11 pkgviews:1.11.0.4 pkgviews-base:1.11 buildlink2:1.11.0.2 buildlink2-base:1.11 netbsd-1-5-PATCH003:1.10 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.13 date 2002.10.05.01.21.36; author wiz; state dead; branches; next 1.12; 1.12 date 2002.09.10.16.06.49; author wiz; state Exp; branches; next 1.11; 1.11 date 2002.04.28.22.37.11; author wiz; state Exp; branches; next 1.10; 1.10 date 2001.10.03.20.56.53; author jlam; state Exp; branches; next 1.9; 1.9 date 2001.09.14.06.53.34; author jlam; state Exp; branches; next 1.8; 1.8 date 2001.08.31.07.22.30; author skrll; state Exp; branches; next 1.7; 1.7 date 2001.08.24.16.59.01; author wiz; state Exp; branches; next 1.6; 1.6 date 2001.08.17.21.14.15; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.07.27.13.33.35; author jlam; state Exp; branches; next 1.4; 1.4 date 2001.07.20.01.54.52; author jlam; state Exp; branches; next 1.3; 1.3 date 2001.07.02.05.34.00; author jlam; state Exp; branches; next 1.2; 1.2 date 2001.07.01.22.59.30; author jlam; state Exp; branches; next 1.1; 1.1 date 2001.06.29.11.47.12; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.06.29.11.47.12; author rh; state Exp; branches; next ; desc @@ 1.13 log @Unused. @ text @# $NetBSD: buildlink.mk,v 1.12 2002/09/10 16:06:49 wiz Exp $ # # This Makefile fragment is included by packages that use libxml2. # # To use this Makefile fragment, simply: # # (1) Optionally define BUILDLINK_DEPENDS.libxml2 to the dependency pattern # for the version of libxml2 desired. # (2) Include this Makefile fragment in the package Makefile, # (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header # search path, and # (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search # path. .if !defined(LIBXML2_BUILDLINK_MK) LIBXML2_BUILDLINK_MK= # defined .include "../../mk/bsd.buildlink.mk" BUILDLINK_DEPENDS.libxml2?= libxml2>=2.4.24nb1 DEPENDS+= ${BUILDLINK_DEPENDS.libxml2}:../../textproc/libxml2 EVAL_PREFIX+= BUILDLINK_PREFIX.libxml2=libxml2 BUILDLINK_PREFIX.libxml2_DEFAULT= ${LOCALBASE} BUILDLINK_FILES.libxml2= include/libxml2/libxml/* BUILDLINK_FILES.libxml2+= lib/libxml2.* BUILDLINK_FILES.libxml2+= lib/xml2Conf.sh # The libxml2 headers should be found at the same location as for libxml.I BUILDLINK_TRANSFORM.libxml2= -e "s|/include/libxml2/|/include/|g" BUILDLINK_CONFIG_WRAPPER_SED+= \ -e "s|-I${BUILDLINK_PREFIX.libxml2}/include/libxml2|-I${BUILDLINK_DIR}/include/libxml -I${BUILDLINK_DIR}/include/|g" .include "../../devel/zlib/buildlink.mk" .include "../../converters/libiconv/buildlink.mk" BUILDLINK_TARGETS.libxml2= libxml2-buildlink BUILDLINK_TARGETS.libxml2+= libxml2-buildlink-config-wrapper BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libxml2} BUILDLINK_CONFIG.libxml2= \ ${BUILDLINK_PREFIX.libxml2}/bin/xml2-config BUILDLINK_CONFIG_WRAPPER.libxml2= \ ${BUILDLINK_DIR}/bin/xml2-config REPLACE_BUILDLINK_SED+= \ -e "s|${BUILDLINK_CONFIG_WRAPPER.libxml2}|${BUILDLINK_CONFIG.libxml2}|g" .if defined(USE_CONFIG_WRAPPER) XML2_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libxml2} CONFIGURE_ENV+= XML2_CONFIG="${XML2_CONFIG}" MAKE_ENV+= XML2_CONFIG="${XML2_CONFIG}" .endif pre-configure: ${BUILDLINK_TARGETS.libxml2} libxml2-buildlink: _BUILDLINK_USE libxml2-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE .endif # LIBXML2_BUILDLINK_MK @ 1.12 log @Since the major of libiconv was increased during the update to 1.8, bump dependency to latest libiconv version; recursively also bump all dependencies of packages depending on libiconv. Requested by fredb. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.11 2002/04/28 22:37:11 wiz Exp $ @ 1.11 log @Some programs don't look in libxml/headername.h, and even libxml itself does not create the directory (any longer?). Be a bit defensive about this and add -I${BUILDLINK_DIR}/include/libxml to BUILDLINK_CONFIG_WRAPPER_SED, while letting -I${BUILDLINK_DIR}/include stay, too. XXX: This should be revisited, and the packages depending on libxml2 be fixed (either way); for now, this change fixes libwmf, ogle, and ogle_gui (and perhaps others), while not changing the situation for kdelibs2 (which I didn't want to test because it's too big). Per a discussion with Johnny Lam. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.10 2001/10/03 20:56:53 jlam Exp $ d20 1 a20 1 BUILDLINK_DEPENDS.libxml2?= libxml2>=2.4.2 @ 1.10 log @Substitute the real config script for the config wrapper script in installed files. We don't want buildlink references to escape into the install directory. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.9 2001/09/14 06:53:34 jlam Exp $ d32 1 a32 1 -e "s|-I${BUILDLINK_PREFIX.libxml2}/include/libxml2/|-I${BUILDLINK_DIR}/include/|g" @ 1.9 log @Fix the problem noted by Ben Collver in 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. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.8 2001/08/31 07:22:30 skrll Exp $ d45 2 @ 1.8 log @Make libxml2 appear in the normal location so that pkgs don't have to touched to find the includes/libraries. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.7 2001/08/24 16:59:01 wiz Exp $ d29 4 a32 1 BUILDLINK_TRANSFORM.libxml2= -e "s|\/include\/libxml2|\/include|g" @ 1.7 log @Update to 2.4.2, provided by Martti Kuparinen in pkg/13741. Changes: Bugfixes and speedups, details at http://xmlsoft.org (News). @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.6 2001/08/17 21:14:15 jlam Exp $ d28 2 @ 1.6 log @If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and MAKE_ENV. We remove the check for GNU_CONFIGURE because if a package Makefile includes the buildlink.mk file, then it most likely wants to use the config script wrappers as well. Change suggested by Hubert Feyrer (hubertf) and Tomasz Luchowski (zuntum). @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.5 2001/07/27 13:33:35 jlam Exp $ d20 1 a20 1 BUILDLINK_DEPENDS.libxml2?= libxml2>=2.3.12 @ 1.5 log @Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default installation directory in case the package isn't installed. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.4 2001/07/20 01:54:52 jlam Exp $ d41 1 a41 1 .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) d44 1 @ 1.4 log @Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set BUILDLINK_PREFIX.. This allows buildlink to find X11BASE packages regardless of whether they were installed before or after xpkgwedge was installed. Idea by Alistair Crooks . @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.3 2001/07/02 05:34:00 jlam Exp $ d24 1 @ 1.3 log @Allow overriding of *_CONFIG variables in a package Makefile when using USE_BUILDLINK_ONLY. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.2 2001/07/01 22:59:30 jlam Exp $ d23 1 a23 1 BUILDLINK_PREFIX.libxml2= ${LOCALBASE} d35 4 a38 2 BUILDLINK_CONFIG.libxml2= ${LOCALBASE}/bin/xml2-config BUILDLINK_CONFIG_WRAPPER.libxml2= ${BUILDLINK_DIR}/bin/xml2-config @ 1.2 log @Move inclusion of bsd.buildlink.mk to start of file. @ text @d1 1 a1 1 # $NetBSD: buildlink.mk,v 1.1.1.1 2001/06/29 11:47:12 rh Exp $ d39 2 a40 1 CONFIGURE_ENV+= XML2_CONFIG="${BUILDLINK_CONFIG_WRAPPER.libxml2}" @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d18 2 a44 2 .include "../../mk/bsd.buildlink.mk" @ 1.1.1.1 log @Initial import of libxml2, the new and improved GNOME 2 xml parsing library. Provided in PR pkg/13338 by Martti Kuparinen , thanks! @ text @@