From 6761fc23fcfee5aa1e765f1d221e5b68273d8d02 Mon Sep 17 00:00:00 2001 From: salo Date: Sun, 17 Nov 2002 11:23:15 +0000 Subject: Fix TERMINFODIR handling on Solaris. Closes pkg/18622 --- devel/ncurses/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'devel') 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 -- cgit v1.2.3