summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-19 02:50:57 +0000
committerjlam <jlam@pkgsrc.org>2003-08-19 02:50:57 +0000
commit9b00b28c63b00bae129ec81a1b9b24cc777c43cb (patch)
tree6f35355534077b9c5c1916b4b5650f57aa751897
parent2eef8f8aac727deb78c564e77919f5439b315d60 (diff)
downloadpkgsrc-9b00b28c63b00bae129ec81a1b9b24cc777c43cb.tar.gz
Add the depot directory of the package we're building to the list of
allowed directories in the runtime library search path.
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 82de78ef2be..e7bf5259f13 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.1.2.8 2003/08/16 21:59:02 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.1.2.9 2003/08/19 02:50:57 jlam Exp $
#
# Assume PKG_INSTALLATION_TYPE == "pkgviews".
@@ -267,6 +267,10 @@ _BLNK_ALLOWED_RPATHDIRS= # empty
_BLNK_ALLOWED_RPATHDIRS+= ${BUILDLINK_DEPOT.${_pkg_}}
.endfor
#
+# Add the depot directory for the package we're building.
+#
+_BLNK_ALLOWED_RPATHDIRS+= ${PREFIX}
+#
# Always add ${LOCALBASE}/lib to the runtime library search path so that
# wildcard dependencies work correctly when installing from binary
# packages.