diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ncurses/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index 7bc71d0a029..9d0cee170a4 100644 --- a/devel/ncurses/Makefile +++ b/devel/ncurses/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2002/09/01 18:36:35 tron Exp $ +# $NetBSD: Makefile,v 1.41 2002/11/17 11:23:15 salo Exp $ DISTNAME= ncurses-${NC_VERS} NC_VERS= 5.2 @@ -27,13 +27,19 @@ CONFIGURE_ARGS+= --with-manpage-tbl .include "../../mk/bsd.prefs.mk" .if (${OPSYS} == SunOS) -PLIST_SUBST+= NOT_SUNOS="@comment " TERMINFODIR=share/lib/terminfo - +PLIST_SUBST+= NOT_SUNOS="@comment " TERMINFO_SRC= ${WRKSRC}/misc/terminfo.src +TERMINFODIR= share/lib/terminfo .else -PLIST_SUBST+= NOT_SUNOS= TERMINFODIR=share/terminfo +PLIST_SUBST+= NOT_SUNOS="" +TERMINFODIR= share/terminfo .endif +PLIST_SUBST+= TERMINFODIR="${TERMINFODIR}" + +CONFIGURE_ARGS+= --with-default-terminfo-dir=${PREFIX}/${TERMINFODIR} +CONFIGURE_ARGS+= --with-terminfo-dirs=${PREFIX}/${TERMINFODIR} + # Remove these manpages from the distribution so they won't get installed CURSES_NO_MAN= clear.1 tput.1 tset.1 |