diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-20 01:54:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-20 01:54:51 +0000 |
commit | dd30dabc8c342242d2f7de362ba8e4fbd55dc056 (patch) | |
tree | dae0240406309a978c806a7f1e4b5be62fbd62bf /textproc/libxml2 | |
parent | f79b2df20a2446d953dd624071a51110e3323693 (diff) | |
download | pkgsrc-dd30dabc8c342242d2f7de362ba8e4fbd55dc056.tar.gz |
Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/buildlink.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/libxml2/buildlink.mk b/textproc/libxml2/buildlink.mk index f1e89f11fcf..97943d8a7e0 100644 --- a/textproc/libxml2/buildlink.mk +++ b/textproc/libxml2/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.3 2001/07/02 05:34:00 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.4 2001/07/20 01:54:52 jlam Exp $ # # This Makefile fragment is included by packages that use libxml2. # @@ -20,7 +20,7 @@ LIBXML2_BUILDLINK_MK= # defined BUILDLINK_DEPENDS.libxml2?= libxml2>=2.3.12 DEPENDS+= ${BUILDLINK_DEPENDS.libxml2}:../../textproc/libxml2 -BUILDLINK_PREFIX.libxml2= ${LOCALBASE} +EVAL_PREFIX+= BUILDLINK_PREFIX.libxml2=libxml2 BUILDLINK_FILES.libxml2= include/libxml2/libxml/* BUILDLINK_FILES.libxml2+= lib/libxml2.* BUILDLINK_FILES.libxml2+= lib/xml2Conf.sh @@ -32,8 +32,10 @@ BUILDLINK_TARGETS.libxml2= libxml2-buildlink BUILDLINK_TARGETS.libxml2+= libxml2-buildlink-config-wrapper BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libxml2} -BUILDLINK_CONFIG.libxml2= ${LOCALBASE}/bin/xml2-config -BUILDLINK_CONFIG_WRAPPER.libxml2= ${BUILDLINK_DIR}/bin/xml2-config +BUILDLINK_CONFIG.libxml2= \ + ${BUILDLINK_PREFIX.libxml2}/bin/xml2-config +BUILDLINK_CONFIG_WRAPPER.libxml2= \ + ${BUILDLINK_DIR}/bin/xml2-config .if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) XML2_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libxml2} |