diff options
author | salo <salo@pkgsrc.org> | 2002-11-17 11:23:15 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2002-11-17 11:23:15 +0000 |
commit | 6761fc23fcfee5aa1e765f1d221e5b68273d8d02 (patch) | |
tree | 4216e9bd2b9beaf2f8b9c969771270008a370a10 /devel/ncurses | |
parent | dd2d72e62467da20310bf2403037e70c5c6973ef (diff) | |
download | pkgsrc-6761fc23fcfee5aa1e765f1d221e5b68273d8d02.tar.gz |
Fix TERMINFODIR handling on Solaris. Closes pkg/18622
Diffstat (limited to 'devel/ncurses')
-rw-r--r-- | devel/ncurses/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
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 |