summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-27 06:15:04 +0000
committerjlam <jlam@pkgsrc.org>2008-02-27 06:15:04 +0000
commit5f1962e280dd5887294bb72751efc1d77da92abc (patch)
tree4a6acad9b6afc526381577ac3b874fc3bb6b2738 /mk
parent70c7f36d9943ac736f19824fe03a14c5a3427a6d (diff)
downloadpkgsrc-5f1962e280dd5887294bb72751efc1d77da92abc.tar.gz
Set BUILDLINK_LDADD.curses in the CURSES_TYPE == "curses" case.
Diffstat (limited to 'mk')
-rw-r--r--mk/curses.buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/curses.buildlink3.mk b/mk/curses.buildlink3.mk
index 84a4c8116dd..e66ef32235a 100644
--- a/mk/curses.buildlink3.mk
+++ b/mk/curses.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: curses.buildlink3.mk,v 1.8 2008/02/27 04:47:02 jlam Exp $
+# $NetBSD: curses.buildlink3.mk,v 1.9 2008/02/27 06:15:04 jlam Exp $
#
# This Makefile fragment is meant to be included by packages that require
# any curses implementation instead of one particular one. The available
@@ -87,6 +87,8 @@ PKG_FAIL_REASON= \
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncurses}
BUILDLINK_PACKAGES+= curses
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}curses
+BUILDLINK_LIBNAME.curses?= ${BUILTIN_LIBNAME.curses}
+BUILDLINK_LDADD.curses?= ${BUILDLINK_LIBNAME.curses:S/^/-l/}
BUILDLINK_BUILTIN_MK.curses= ../../mk/curses.builtin.mk
.elif ${CURSES_TYPE} == "ncurses"
USE_NCURSES= yes