diff options
author | jlam <jlam> | 2001-07-20 01:54:31 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-07-20 01:54:31 +0000 |
commit | 2ae16cd40f1946d48da3c1d8da79eb468fb79412 (patch) | |
tree | b2e768de7c211ef606d480324d634b7befcb3c51 /devel/zlib | |
parent | bfd2f56db9fd534ea59e33ea06dd03d00aea56ad (diff) | |
download | pkgsrc-2ae16cd40f1946d48da3c1d8da79eb468fb79412.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 'devel/zlib')
-rw-r--r-- | devel/zlib/buildlink.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/zlib/buildlink.mk b/devel/zlib/buildlink.mk index 61786b89818..e9974eef992 100644 --- a/devel/zlib/buildlink.mk +++ b/devel/zlib/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.5 2001/07/01 22:59:20 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.6 2001/07/20 01:54:41 jlam Exp $ # # This Makefile fragment is included by packages that use zlib. # @@ -27,7 +27,7 @@ _NEED_ZLIB= YES .if ${_NEED_ZLIB} == "YES" DEPENDS+= ${BUILDLINK_DEPENDS.zlib}:../../devel/zlib -BUILDLINK_PREFIX.zlib= ${LOCALBASE} +EVAL_PREFIX+= BUILDLINK_PREFIX.zlib=zlib .else BUILDLINK_PREFIX.zlib= /usr .endif |