From 5f1962e280dd5887294bb72751efc1d77da92abc Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 27 Feb 2008 06:15:04 +0000 Subject: Set BUILDLINK_LDADD.curses in the CURSES_TYPE == "curses" case. --- mk/curses.buildlink3.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3