- Don't set suid bit. In our implementation, grantpt() and unlockpt() don't
actually have any use, because PTY's are created on the fly and already have proper permissions upon creation (see src/lib/libc/stdlib/ptsname.c) [1] - Cleanup Makefile - Use pkg-message - Remove dead mirror Notified by: ashish
This commit is contained in:
parent
40161454f3
commit
c8031f6b90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269586
2 changed files with 18 additions and 20 deletions
|
@ -7,10 +7,9 @@
|
|||
|
||||
PORTNAME= xterm
|
||||
PORTVERSION= 269
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ftp://invisible-island.net/xterm/ \
|
||||
http://voodoo.bawue.com/download/ \
|
||||
CRITICAL
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
|
@ -31,7 +30,7 @@ OPTIONS= WIDE_CHARS "enable wide-character support" on \
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !defined(WITHOUT_WIDE_CHARS)
|
||||
.if defined(WITH_WIDE_CHARS)
|
||||
CONFIGURE_ARGS+= --enable-wide-chars --enable-luit
|
||||
.endif
|
||||
|
||||
|
@ -52,23 +51,12 @@ LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter
|
|||
.endif
|
||||
|
||||
post-install:
|
||||
@${CHMOD} 4711 ${PREFIX}/bin/xterm
|
||||
.if !defined(WITHOUT_WIDE_CHARS)
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} '********************************************************'
|
||||
@${ECHO_MSG} ' NOTE: you installed xterm with wide chars support.'
|
||||
@${ECHO_MSG} ' This introduces some limitations comparing to the'
|
||||
@${ECHO_MSG} ' plain single chars version: this version of xterm'
|
||||
@${ECHO_MSG} ' will use UTF-8 charset for selection buffers,'
|
||||
@${ECHO_MSG} ' breaking 8-bit copy/paste support unless you are'
|
||||
@${ECHO_MSG} ' using UTF-8 or ISO8859-1 locale. If you want'
|
||||
@${ECHO_MSG} ' 8-bit charset selections to work as before, use'
|
||||
@${ECHO_MSG} ' "eightBitSelectTypes" XTerm resource setting.'
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} ' For further information refer to the SELECT/PASTE'
|
||||
@${ECHO_MSG} ' section of xterm(1) manual page.'
|
||||
@${ECHO_MSG} '********************************************************'
|
||||
@${ECHO_MSG}
|
||||
.for f in koi8rxterm resize uxterm xterm
|
||||
@${CHMOD} ${BINMODE} ${PREFIX}/bin/${f}
|
||||
.endfor
|
||||
|
||||
.if defined(WITH_WIDE_CHARS)
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
10
x11/xterm/pkg-message
Normal file
10
x11/xterm/pkg-message
Normal file
|
@ -0,0 +1,10 @@
|
|||
================================================================================
|
||||
You installed xterm with wide chars support. This introduces some limitations
|
||||
comparing to the plain single chars version: this version of xterm will use
|
||||
UTF-8 charset for selection buffers, breaking 8-bit copy/paste support unless
|
||||
you are using UTF-8 or ISO8859-1 locale. If you want 8-bit charset selections to
|
||||
work as before, use "eightBitSelectTypes" XTerm resource setting.
|
||||
|
||||
For further information refer to the SELECT/PASTE section of xterm(1) manual
|
||||
page.
|
||||
================================================================================
|
Loading…
Reference in a new issue