diff options
author | tv <tv@pkgsrc.org> | 2004-10-13 20:10:31 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-13 20:10:31 +0000 |
commit | d133a216ec28fa4b898ed0b2b2341a70cd6385b5 (patch) | |
tree | ae3427e677d8958118b7df9ac066c95d4d37cb4f /devel/ncurses | |
parent | 39765d787acf3197e56a451d65dac9bfa4d6c6f7 (diff) | |
download | pkgsrc-d133a216ec28fa4b898ed0b2b2341a70cd6385b5.tar.gz |
Oy, what a hack. But then, so is Interix....
On Interix, force inclusion of devel/ncurses/buildlink3.mk from
mk/curses.buildlink3.mk. This forces inclusion of its builtin.mk too.
In devel/ncurses/builtin.mk, if using Interix's builtin ncurses, always
transform -lncurses to -lcurses. (-lncurses is static, but -lcurses is
shared; we want the shared version.)
Diffstat (limited to 'devel/ncurses')
-rw-r--r-- | devel/ncurses/builtin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ncurses/builtin.mk b/devel/ncurses/builtin.mk index c7607797fd1..6b9edd8adb9 100644 --- a/devel/ncurses/builtin.mk +++ b/devel/ncurses/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.3 2004/03/29 05:43:30 jlam Exp $ +# $NetBSD: builtin.mk,v 1.4 2004/10/13 20:10:31 tv Exp $ .if !defined(_BLNK_LIBNCURSES_FOUND) _BLNK_LIBNCURSES_FOUND!= \ @@ -99,7 +99,8 @@ CHECK_BUILTIN.ncurses?= no .if !empty(CHECK_BUILTIN.ncurses:M[nN][oO]) .if !empty(USE_BUILTIN.ncurses:M[yY][eE][sS]) -. if !empty(_BLNK_LIBNCURSES_FOUND:M[nN][oO]) +. include "../../mk/bsd.prefs.mk" +. if !empty(_BLNK_LIBNCURSES_FOUND:M[nN][oO]) || ${OPSYS} == "Interix" BUILDLINK_TRANSFORM.ncurses+= -e "s|/curses\.h|/ncurses.h|g" BUILDLINK_TRANSFORM+= l:ncurses:curses . endif |