diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-06-09 10:24:13 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-06-09 10:24:13 +0000 |
commit | 547d5984cebdc353f76870d8c7265cd2679aaa6a (patch) | |
tree | 2841244eda3b802b12ece47b34b0a5e2d7b5e045 /misc | |
parent | 61fdfd9468fb35c99bc24460cece085065073c4c (diff) | |
download | pkgsrc-547d5984cebdc353f76870d8c7265cd2679aaa6a.tar.gz |
Change the terminfo creation on SunOS to happen when CURSES_DEFAULT is
set to 'curses' and use the canonical path to tic(1M) rather than the
obsolete '/usr/5bin' PATH which is no longer valid on some newer OS
releases.
Bump PKGREVISION.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/screen/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 6cf56c777d1..057341e7089 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.85 2012/10/08 09:57:37 asau Exp $ +# $NetBSD: Makefile,v 1.86 2014/06/09 10:24:13 jperkin Exp $ DISTNAME= screen-4.0.3 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= misc shells MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \ http://people.freebsd.org/~cy/distfiles/ @@ -36,7 +36,8 @@ SUBST_SED.paths+= -e 's,@EXAMPLES@,${PREFIX}/share/examples/screen,g' SUBST_STAGE.paths= post-patch PLIST_VARS+= terminfo -.if (${OPSYS} == "SunOS") && exists(/usr/5bin/tic) + +.if ${OPSYS} == "SunOS" && ${CURSES_DEFAULT} == "curses" INSTALLATION_DIRS+= share/lib/terminfo PLIST.terminfo= yes post-install: screen-terminfo @@ -60,7 +61,7 @@ post-install: screen-terminfo: cd ${WRKSRC}/terminfo && \ ${SETENV} TERMINFO=${DESTDIR}${PREFIX}/share/lib/terminfo \ - /usr/5bin/tic screeninfo.src + /usr/bin/tic screeninfo.src .include "../../mk/termcap.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |