pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Document that a buildlink3.mk file must ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/525bbd9140ac
branches:  trunk
changeset: 461311:525bbd9140ac
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Sep 14 01:46:47 2003 +0000

description:
Document that a buildlink3.mk file must either directly or indirectly set
the value of BUILDLINK_PREFIX.<pkg>.

diffstat:

 mk/buildlink3/bsd.buildlink3.mk |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 9f5631a472ec -r 525bbd9140ac mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk   Sun Sep 14 01:00:18 2003 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk   Sun Sep 14 01:46:47 2003 +0000
@@ -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.
 #



Home | Main Index | Thread Index | Old Index