pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ncurses Export BUILDLINK_LDADD.ncurses, which is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/775534aab213
branches:  trunk
changeset: 510823:775534aab213
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Apr 04 19:11:33 2006 +0000

description:
Export BUILDLINK_LDADD.ncurses, which is the flags to link directly
against the curses library used.

diffstat:

 devel/ncurses/builtin.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 94baa0059785 -r 775534aab213 devel/ncurses/builtin.mk
--- a/devel/ncurses/builtin.mk  Tue Apr 04 18:51:14 2006 +0000
+++ b/devel/ncurses/builtin.mk  Tue Apr 04 19:11:33 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.9 2006/03/30 18:06:17 jlam Exp $
+# $NetBSD: builtin.mk,v 1.10 2006/04/04 19:11:33 jlam Exp $
 
 BUILTIN_PKG:=  ncurses
 
@@ -105,8 +105,10 @@
 CHECK_BUILTIN.ncurses?=        no
 .if !empty(CHECK_BUILTIN.ncurses:M[nN][oO])
 
+BUILDLINK_LDADD.ncurses=       -lncurses
 .  if !empty(USE_BUILTIN.ncurses:M[yY][eE][sS])
 .    if !empty(BUILTIN_LIB_FOUND.ncurses:M[nN][oO]) || (${OPSYS} == "Interix")
+BUILDLINK_LDADD.ncurses=       -lcurses
 BUILDLINK_TRANSFORM.ncurses+=  -e "s|/curses\.h|/ncurses.h|g"
 BUILDLINK_TRANSFORM+=          l:ncurses:curses
 .    endif



Home | Main Index | Thread Index | Old Index