From 049f1a1f78fce7f9195a1ea205e4195ff2e7fa1e Mon Sep 17 00:00:00 2001 From: rillig Date: Tue, 6 Feb 2007 14:34:54 +0000 Subject: When TERMINFODIR does not exist, tic tries to write the terminfo database into ~/.terminfo, so make sure that directory exists. --- devel/ncurses/Makefile.common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'devel/ncurses/Makefile.common') diff --git a/devel/ncurses/Makefile.common b/devel/ncurses/Makefile.common index cb6fea0dbab..2eb7704e711 100644 --- a/devel/ncurses/Makefile.common +++ b/devel/ncurses/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2007/01/11 07:32:16 rillig Exp $ +# $NetBSD: Makefile.common,v 1.5 2007/02/06 14:34:54 rillig Exp $ DISTNAME= ncurses-${NC_VERS} NC_VERS= 5.6 @@ -41,4 +41,7 @@ PLIST_SUBST+= NOT_SUNOS="" TERMINFODIR= share/terminfo .endif +# This prevents tic from writing into ~/.terminfo +INSTALLATION_DIRS+= ${TERMINFODIR} + PLIST_SUBST+= TERMINFODIR=${TERMINFODIR:Q} -- cgit v1.2.3