summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-14 01:46:47 +0000
committerjlam <jlam>2003-09-14 01:46:47 +0000
commit7d9a3872855b46ad2a8fdb8e92593f96bb66c474 (patch)
tree6a998424c246f3afdc4bed567bb568597feed5ce /mk
parent38e2e5f280e6c22d36822353701dd5c2b6b63831 (diff)
downloadpkgsrc-7d9a3872855b46ad2a8fdb8e92593f96bb66c474.tar.gz
Document that a buildlink3.mk file must either directly or indirectly set
the value of BUILDLINK_PREFIX.<pkg>.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index c4c791c38a4..9656a5df66c 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.12 2003/09/14 01:00:18 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.13 2003/09/14 01:46:47 jlam Exp $
#
# An example package buildlink3.mk file:
#
@@ -24,6 +24,14 @@
# .endif # FOO_BUILDLINK3_MK
# -------------8<-------------8<-------------8<-------------8<-------------
#
+# Note that if a buildlink3.mk file is included, then the package Makefile
+# has the expectation that it can use the value of BUILDLINK_PREFIX.<pkg>.
+# If the buildlink3.mk tries to handle dependencies satisfied directly by
+# the base system, then it should provide an appropriate value for
+# BUILDLINK_PREFIX.<pkg> for that case. The case where a dependency is
+# satisfied by a pkgsrc-installed package is handled automatically by this
+# file.
+#
# The different variables that may be set in a buildlink2.mk file are
# described below.
#