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 /archivers | |
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 'archivers')
-rw-r--r-- | archivers/bzip2/buildlink.mk | 4 | ||||
-rw-r--r-- | archivers/liblzo/buildlink.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/archivers/bzip2/buildlink.mk b/archivers/bzip2/buildlink.mk index 718560d9e01..c49a2116037 100644 --- a/archivers/bzip2/buildlink.mk +++ b/archivers/bzip2/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.3 2001/07/01 22:59:08 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.4 2001/07/20 01:54:31 jlam Exp $ # # This Makefile fragment is included by packages that use bzip2. # @@ -38,7 +38,7 @@ _NEED_BZIP2= NO .if ${_NEED_BZIP2} == "YES" DEPENDS+= ${BUILDLINK_DEPENDS.bzip2}:../../archivers/bzip2 -BUILDLINK_PREFIX.bzip2= ${LOCALBASE} +EVAL_PREFIX+= BUILDLINK_PREFIX.bzip2=bzip2 .else BUILDLINK_PREFIX.bzip2= /usr .endif diff --git a/archivers/liblzo/buildlink.mk b/archivers/liblzo/buildlink.mk index 9c7a16f766c..b44074b720c 100644 --- a/archivers/liblzo/buildlink.mk +++ b/archivers/liblzo/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.3 2001/07/16 09:56:04 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.4 2001/07/20 01:54:32 jlam Exp $ # # This Makefile fragment is included by packages that use liblzo. # @@ -20,7 +20,7 @@ LIBLZO_BUILDLINK_MK= # defined BUILDLINK_DEPENDS.liblzo?= liblzo>=1.06 DEPENDS+= ${BUILDLINK_DEPENDS.liblzo}:../../archivers/liblzo -BUILDLINK_PREFIX.liblzo= ${LOCALBASE} +EVAL_PREFIX+= BUILDLINK_PREFIX.liblzo=liblzo BUILDLINK_FILES.liblzo= include/lzo1.h BUILDLINK_FILES.liblzo+= include/lzo16bit.h BUILDLINK_FILES.liblzo+= include/lzo1a.h |