summaryrefslogtreecommitdiff
path: root/www/libwww
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-20 01:54:51 +0000
committerjlam <jlam>2001-07-20 01:54:51 +0000
commit71d63a5cdbaf3e700d981e41f021fefe59be961e (patch)
treedae0240406309a978c806a7f1e4b5be62fbd62bf /www/libwww
parente42102934d557de547139e7a1c271999073a7103 (diff)
downloadpkgsrc-71d63a5cdbaf3e700d981e41f021fefe59be961e.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 'www/libwww')
-rw-r--r--www/libwww/buildlink.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/libwww/buildlink.mk b/www/libwww/buildlink.mk
index 7551fcb1d77..033bc2b3b30 100644
--- a/www/libwww/buildlink.mk
+++ b/www/libwww/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:53 jlam Exp $
#
# This Makefile fragment is included by packages that use libwww.
#
@@ -20,7 +20,7 @@ LIBWWW_BUILDLINK_MK= # defined
BUILDLINK_DEPENDS.libwww?= libwww>=5.3.2
DEPENDS+= ${BUILDLINK_DEPENDS.libwww}:../../www/libwww
-BUILDLINK_PREFIX.libwww= ${LOCALBASE}
+EVAL_PREFIX+= BUILDLINK_PREFIX.libwww=libwww
BUILDLINK_FILES.libwww= include/wwwconf.h
BUILDLINK_FILES.libwww+= include/w3c-libwww/*
BUILDLINK_FILES.libwww+= lib/libmd5.*
@@ -55,8 +55,8 @@ BUILDLINK_TARGETS.libwww= libwww-buildlink
BUILDLINK_TARGETS.libwww+= libwww-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libwww}
-BUILDLINK_CONFIG.libwww= ${LOCALBASE}/bin/libwww-config
-BUILDLINK_CONFIG_WRAPPER.libwww= ${BUILDLINK_DIR}/bin/libwww-config
+BUILDLINK_CONFIG.libwww= ${BUILDLINK_PREFIX.libwww}/bin/libwww-config
+BUILDLINK_CONFIG_WRAPPER.libwww=${BUILDLINK_DIR}/bin/libwww-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
LIBWWW_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libwww}