diff options
author | rillig <rillig> | 2007-02-06 14:34:54 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-02-06 14:34:54 +0000 |
commit | 17693b8560f9b78c00a7eb770f77bb843a6803ea (patch) | |
tree | 79c4b0a53727da42d4c52405fa5fbb3fcc1fcb33 /devel | |
parent | e42cd6d02257543e52fad7fce1599ae218dd49e5 (diff) | |
download | pkgsrc-17693b8560f9b78c00a7eb770f77bb843a6803ea.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')
-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} |