pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/screen Change the terminfo creation on SunOS to h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/603d9b6088ae
branches:  trunk
changeset: 635600:603d9b6088ae
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Jun 09 10:24:13 2014 +0000

description:
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:

 misc/screen/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 54afff4825f4 -r 603d9b6088ae misc/screen/Makefile
--- a/misc/screen/Makefile      Mon Jun 09 10:21:34 2014 +0000
+++ b/misc/screen/Makefile      Mon Jun 09 10:24:13 2014 +0000
@@ -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_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 @@
 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"



Home | Main Index | Thread Index | Old Index