diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-06 14:34:54 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-06 14:34:54 +0000 |
commit | 382c6ec43acbfbc6b45f5f31ab386d7355799c4c (patch) | |
tree | 79c4b0a53727da42d4c52405fa5fbb3fcc1fcb33 /devel/ncurses | |
parent | 3916c24c0c5edf17d87c074ff59c4261981e7b41 (diff) | |
download | pkgsrc-382c6ec43acbfbc6b45f5f31ab386d7355799c4c.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')
-rw-r--r-- | devel/ncurses/Makefile | 4 | ||||
-rw-r--r-- | devel/ncurses/Makefile.common | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index d9748d408a2..7fed1f4e2bf 100644 --- a/devel/ncurses/Makefile +++ b/devel/ncurses/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.77 2007/01/23 22:55:32 wiz Exp $ +# $NetBSD: Makefile,v 1.78 2007/02/06 14:34:54 rillig Exp $ .include "Makefile.common" PKGREVISION= 1 COMMENT= CRT screen handling and optimization package -INSTALLATION_DIRS= share/examples +INSTALLATION_DIRS+= share/examples .if ${OPSYS} == "SunOS" # misc/screen installs screen, screen-bce and screen-s 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} |