summaryrefslogtreecommitdiff
path: root/devel/zlib
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-27 13:33:18 +0000
committerjlam <jlam>2001-07-27 13:33:18 +0000
commitd41d7f2283220d348551aef9cccbfea109cbb323 (patch)
tree13e500fbe98819bb0bcb13edfe17eda40701d873 /devel/zlib
parent2af052871b53c2fb67dc61fe713ec852b2a2e699 (diff)
downloadpkgsrc-d41d7f2283220d348551aef9cccbfea109cbb323.tar.gz
Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
Diffstat (limited to 'devel/zlib')
-rw-r--r--devel/zlib/buildlink.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/zlib/buildlink.mk b/devel/zlib/buildlink.mk
index e9974eef992..60aa9b2b022 100644
--- a/devel/zlib/buildlink.mk
+++ b/devel/zlib/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.6 2001/07/20 01:54:41 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.7 2001/07/27 13:33:26 jlam Exp $
#
# This Makefile fragment is included by packages that use zlib.
#
@@ -28,6 +28,7 @@ _NEED_ZLIB= YES
.if ${_NEED_ZLIB} == "YES"
DEPENDS+= ${BUILDLINK_DEPENDS.zlib}:../../devel/zlib
EVAL_PREFIX+= BUILDLINK_PREFIX.zlib=zlib
+BUILDLINK_PREFIX.zlib_DEFAULT= ${LOCALBASE}
.else
BUILDLINK_PREFIX.zlib= /usr
.endif