summaryrefslogtreecommitdiff
path: root/devel/ncurses/Makefile.common
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-06 14:34:54 +0000
committerrillig <rillig@pkgsrc.org>2007-02-06 14:34:54 +0000
commit049f1a1f78fce7f9195a1ea205e4195ff2e7fa1e (patch)
tree79c4b0a53727da42d4c52405fa5fbb3fcc1fcb33 /devel/ncurses/Makefile.common
parent15fcd3d9016e23bab6073019e456581fd60afe1c (diff)
downloadpkgsrc-049f1a1f78fce7f9195a1ea205e4195ff2e7fa1e.tar.gz
When TERMINFODIR does not exist, tic tries to write the terminfo
database into ~/.terminfo, so make sure that directory exists.
Diffstat (limited to 'devel/ncurses/Makefile.common')
-rw-r--r--devel/ncurses/Makefile.common5
1 files changed, 4 insertions, 1 deletions
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}