diff options
author | jlam <jlam@pkgsrc.org> | 2006-04-04 19:11:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-04-04 19:11:33 +0000 |
commit | fde5974d154a715da45d6ca822c22b94c66b2f18 (patch) | |
tree | 782363e73abdf7d65d6ac6332a5d8af9b491522f /devel/ncurses/builtin.mk | |
parent | 0a5d9471b88ed952fb6121fb6f3a0404cb74e168 (diff) | |
download | pkgsrc-fde5974d154a715da45d6ca822c22b94c66b2f18.tar.gz |
Export BUILDLINK_LDADD.ncurses, which is the flags to link directly
against the curses library used.
Diffstat (limited to 'devel/ncurses/builtin.mk')
-rw-r--r-- | devel/ncurses/builtin.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/ncurses/builtin.mk b/devel/ncurses/builtin.mk index 027235b2e18..674bf08b6df 100644 --- a/devel/ncurses/builtin.mk +++ b/devel/ncurses/builtin.mk @@ -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 @@ USE_BUILTIN.ncurses= no 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 |