Date: Wed, 26 Jan 2011 16:00:21 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/153622: [patch] sysutils/jfbterm: improve TERMCAP option Message-ID: <201101261600.p0QG0Lob044681@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/153622; it has been noted by GNATS. From: Anonymous <swell.k@gmail.com> To: beat@FreeBSD.org Cc: bug-followup@FreeBSD.org Subject: Re: ports/153622: [patch] sysutils/jfbterm: improve TERMCAP option Date: Wed, 26 Jan 2011 18:40:19 +0300 beat@FreeBSD.org writes: > The backup file is left behind on deinstall: /usr/share/misc/termcap.bak > > Should we delete this file after working on termcap? Not sure. It's a backup for system termcap file and has a value for debugging. But just like with use.perl script after install+deinstall the traces of original file are forever lost because backup files are not versioned. TERMCAP is optional as jfbterm works with `xterm' termcap record just fine. --- a.diff begins here --- Index: sysutils/jfbterm/Makefile =================================================================== RCS file: /a/.cvsup/ports/sysutils/jfbterm/Makefile,v retrieving revision 1.14 diff -u -p -r1.14 Makefile --- sysutils/jfbterm/Makefile 22 Sep 2010 05:44:08 -0000 1.14 +++ sysutils/jfbterm/Makefile 26 Jan 2011 15:34:54 -0000 @@ -107,6 +124,10 @@ post-extract: .SILENT post-patch: .SILENT ${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' \ ${WRKSRC}/*.[0-9] ${WRKSRC}/*.conf.sample +.if defined(WITHOUT_TERMCAP) + ${REINPLACE_CMD} '/^term/s/:.*/: xterm/' \ + ${WRKSRC}/*.conf.sample +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin --- a.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101261600.p0QG0Lob044681>