summaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-01-29 11:14:56 +0000
committerdrochner <drochner@pkgsrc.org>2002-01-29 11:14:56 +0000
commit6dec0ecc10475e02a46e70b6e54a377c6995827f (patch)
treef04c6611b9529173d3f8defbea795fe18cafa7a3 /devel/ncurses
parent15a010e77e0a10c1b1360951d891eece988602c4 (diff)
downloadpkgsrc-6dec0ecc10475e02a46e70b6e54a377c6995827f.tar.gz
add runtime search path to LDFLAGS
Diffstat (limited to 'devel/ncurses')
-rw-r--r--devel/ncurses/buildlink.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/ncurses/buildlink.mk b/devel/ncurses/buildlink.mk
index 311d01f2baf..7abe59147a7 100644
--- a/devel/ncurses/buildlink.mk
+++ b/devel/ncurses/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.16 2001/12/29 17:16:54 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.17 2002/01/29 11:14:56 drochner Exp $
#
# This Makefile fragment is included by packages that use ncurses.
#
@@ -64,6 +64,7 @@ BUILDLINK_FILES.ncurses+= lib/libncurses++.*
BUILDLINK_FILES.ncurses+= lib/libncurses.*
BUILDLINK_FILES.ncurses+= lib/libpanel.*
DEPENDS+= ${BUILDLINK_DEPENDS.ncurses}:../../devel/ncurses
+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.ncurses}/lib
.else
BUILDLINK_PREFIX.ncurses= /usr
BUILDLINK_FILES.ncurses= include/curses.h