summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-17 21:19:37 +0000
committerjlam <jlam@pkgsrc.org>2001-07-17 21:19:37 +0000
commit5ec2feec1afd71f21e524696db216fe8bfe3b8da (patch)
treed83a7c01ff1699387ce69cff1acb73dd76814493 /Packages.txt
parentde1dd0a6d113ceb8ad1c1b936650cd1dcde09787 (diff)
downloadpkgsrc-5ec2feec1afd71f21e524696db216fe8bfe3b8da.tar.gz
Add note on -Wl,-R settings for buildlink packages based on question put
to me by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at> in private email.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt
index 20956dfb094..f40dd63bbc6 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.172 2001/07/16 11:06:48 jlam Exp $
+# $NetBSD: Packages.txt,v 1.173 2001/07/17 21:19:37 jlam Exp $
###########################################################################
==========================
@@ -1604,6 +1604,13 @@ differs from the default specified in the package's buildlink.mk file, then
it may be set by defining BUILDLINK_DEPENDS.<pkgname> in the Makefile to
the dependency pattern required.
+Packages will still need LDFLAGS to be set to include the appropriate rpath
+settings in order for built packages to find libraries. LDFLAGS should
+still contain -Wl,-R${LOCALBASE}/lib, and -Wl,-R${X11BASE}/lib if the
+package requires the X11 libraries. -Wl,-R should never refer to a
+${BUILDLINK_DIR} library directory, and all such references should be
+purged from the build.
+
A package that builds correctly with USE_BUILDLINK_ONLY set should have
that setting added to its Makefile to note that it doesn't use any
libraries or headers in ${LOCALBASE} directly, but rather references them