summaryrefslogtreecommitdiff
path: root/textproc/libxml
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-20 01:54:51 +0000
committerjlam <jlam@pkgsrc.org>2001-07-20 01:54:51 +0000
commitdd30dabc8c342242d2f7de362ba8e4fbd55dc056 (patch)
treedae0240406309a978c806a7f1e4b5be62fbd62bf /textproc/libxml
parentf79b2df20a2446d953dd624071a51110e3323693 (diff)
downloadpkgsrc-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/libxml')
-rw-r--r--textproc/libxml/buildlink.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/textproc/libxml/buildlink.mk b/textproc/libxml/buildlink.mk
index 327b9f7739a..9ccd54c3fbf 100644
--- a/textproc/libxml/buildlink.mk
+++ b/textproc/libxml/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.4 2001/07/02 05:34:00 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.5 2001/07/20 01:54:52 jlam Exp $
#
# This Makefile fragment is included by packages that use libxml.
#
@@ -20,7 +20,7 @@ LIBXML_BUILDLINK_MK= # defined
BUILDLINK_DEPENDS.libxml?= libxml>=1.8.11
DEPENDS+= ${BUILDLINK_DEPENDS.libxml}:../../textproc/libxml
-BUILDLINK_PREFIX.libxml= ${LOCALBASE}
+EVAL_PREFIX+= BUILDLINK_PREFIX.libxml=libxml
BUILDLINK_FILES.libxml= include/gnome-xml/*
BUILDLINK_FILES.libxml+= lib/libxml.*
BUILDLINK_FILES.libxml+= lib/xmlConf.sh
@@ -31,8 +31,8 @@ BUILDLINK_TARGETS.libxml= libxml-buildlink
BUILDLINK_TARGETS.libxml+= libxml-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libxml}
-BUILDLINK_CONFIG.libxml= ${LOCALBASE}/bin/xml-config
-BUILDLINK_CONFIG_WRAPPER.libxml= ${BUILDLINK_DIR}/bin/xml-config
+BUILDLINK_CONFIG.libxml= ${BUILDLINK_PREFIX.libxml}/bin/xml-config
+BUILDLINK_CONFIG_WRAPPER.libxml=${BUILDLINK_DIR}/bin/xml-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
XML_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libxml}