summaryrefslogtreecommitdiff
path: root/devel/ncursesw/buildlink3.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-29 19:23:07 +0000
committerjlam <jlam@pkgsrc.org>2008-02-29 19:23:07 +0000
commit1edde7369f9ea875c7704cfb1a546e93f55f0977 (patch)
tree18fa2436d3501b0a88d2ed63028fb4677304322d /devel/ncursesw/buildlink3.mk
parent0e0478034d3c7715d36c262066341c122a9fc782 (diff)
downloadpkgsrc-1edde7369f9ea875c7704cfb1a546e93f55f0977.tar.gz
Provide value for BUILDLINK_LDADD.ncursesw that can be used by packages
that need to know how to link against ncursesw.
Diffstat (limited to 'devel/ncursesw/buildlink3.mk')
-rw-r--r--devel/ncursesw/buildlink3.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/ncursesw/buildlink3.mk b/devel/ncursesw/buildlink3.mk
index 637883a9e63..9e9b0338b69 100644
--- a/devel/ncursesw/buildlink3.mk
+++ b/devel/ncursesw/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2008/02/20 17:17:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2008/02/29 19:23:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NCURSESW_BUILDLINK3_MK:=${NCURSESW_BUILDLINK3_MK}+
@@ -15,6 +15,9 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ncursesw
BUILDLINK_API_DEPENDS.ncursesw+= ncursesw>=5.5
BUILDLINK_ABI_DEPENDS.ncursesw+= ncursesw>=5.5
BUILDLINK_PKGSRCDIR.ncursesw?= ../../devel/ncursesw
+
+BUILDLINK_LIBNAME.ncursesw= ncursesw
+BUILDLINK_LDADD.ncursesw= ${BUILDLINK_LIBNAME.ncursesw:S/^/-l/:S/^-l$//}
.endif # NCURSESW_BUILDLINK3_MK
.include "../../devel/ncurses/buildlink3.mk"