From 66ee92b416e198f68a7cb8ee97736ca1425f8499 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 26 May 2013 18:21:46 +0000 Subject: Document how to add build dependencies using buildlink3.mk. Requested by rodent. --- doc/guide/files/fixes.xml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'doc/guide') diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml index d23b0bdc60d..eac4e93b46a 100644 --- a/doc/guide/files/fixes.xml +++ b/doc/guide/files/fixes.xml @@ -1,4 +1,4 @@ - + Making your package work @@ -358,7 +358,7 @@ ACCEPTABLE_LICENSES+=xv-license If your package needs another package's binaries or - libraries to build or run, and if that package has a + libraries to build and run, and if that package has a buildlink3.mk file available, use it: @@ -366,6 +366,20 @@ ACCEPTABLE_LICENSES+=xv-license + + If your package needs another package's binaries or + libraries only for building, and if that package has a + buildlink3.mk file available, use it: + + +.include "../../graphics/jpeg/buildlink3.mk" + + but set + BUILDLINK_DEPMETHOD.jpeg?=build + to make it a build dependency only. This case is rather + rare. + + If your package needs binaries from another package to build, use the BUILD_DEPENDS definition: -- cgit v1.2.3