pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Set BUILDLINK_LDADD.curses in the CURSES_TYPE == "c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/235cdde32db7
branches:  trunk
changeset: 539076:235cdde32db7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Feb 27 06:15:04 2008 +0000

description:
Set BUILDLINK_LDADD.curses in the CURSES_TYPE == "curses" case.

diffstat:

 mk/curses.buildlink3.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 94437c1d80e3 -r 235cdde32db7 mk/curses.buildlink3.mk
--- a/mk/curses.buildlink3.mk   Wed Feb 27 06:14:23 2008 +0000
+++ b/mk/curses.buildlink3.mk   Wed Feb 27 06:15:04 2008 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index