summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-04-21 12:44:00 +0000
committerwiz <wiz@pkgsrc.org>2013-04-21 12:44:00 +0000
commit056ebba12b312c99ccf0d3e5c1068a923e5448f6 (patch)
tree1866a92977fb8d1149fd77482d2795d95c2cdfbf /doc/guide
parentd74af54ab4a1bd26a3c2a1a82c77f853c7437014 (diff)
downloadpkgsrc-056ebba12b312c99ccf0d3e5c1068a923e5448f6.tar.gz
ldd is not reliable for when to include buildlink3.mk files in others.
Update paragraph. Based on discussion with rodent@.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/buildlink.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/guide/files/buildlink.xml b/doc/guide/files/buildlink.xml
index 9d5b893c5f3..2676e8ca536 100644
--- a/doc/guide/files/buildlink.xml
+++ b/doc/guide/files/buildlink.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: buildlink.xml,v 1.32 2013/04/16 13:55:33 wiz Exp $ -->
+<!-- $NetBSD: buildlink.xml,v 1.33 2013/04/21 12:44:00 wiz Exp $ -->
<chapter id="buildlink">
<title>Buildlink methodology</title>
@@ -350,13 +350,17 @@ BUILDLINK_TREE+= -tiff
<para>The following steps should help you decide if a
<filename>buildlink3.mk</filename> file needs to be included:
<itemizedlist>
- <listitem><para>Run <filename>ldd</filename> on all installed
- libraries and look against what other libraries they link. The
- packages providing these must be
- buildlinked.</para></listitem>
<listitem><para>Look at the installed header files: What
headers do they include? The packages providing these files
must be buildlinked.</para></listitem>
+ <listitem><para>Run <filename>ldd</filename> on all installed
+ libraries and look against what other libraries they link.
+ Some of the packages providing these probably need to be
+ buildlinked; however, it's not automatic, since e.g. GTK on
+ some systems pulls in the X libraries, so they will show up in
+ the <filename>ldd</filename> output, while on others (like OS
+ X) it won't. <filename>ldd</filename>output can thus only be
+ used as a hint.</para></listitem>
</itemizedlist>
</para>
</sect2>