mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 21:00:30 -04:00
- update to 0.37
- remove -lutil cruft from before AC_CHECK_LIB() was added - either use openpty() or search manually (not sure)[1] [1] PTYS_ARE_PTMX ifdef patch was incorrect, anyway. According to configure.ac there can be only one of PTYS_ARE_XXX be defined at a time because the check uses `else if'. PR: ports/150694 Submitted by: swell.k@gmail.com Approved by: maintainer timeout (gamato@users.sf.net ; 14 days)
This commit is contained in:
parent
91e93108af
commit
62e76e61f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262501
4 changed files with 8 additions and 14 deletions
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= rlwrap
|
||||
PORTVERSION= 0.36
|
||||
PORTVERSION= 0.37
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/ \
|
||||
${MASTER_SITE_LOCAL} \
|
||||
|
@ -18,13 +18,15 @@ MAINTAINER= gamato@users.sf.net
|
|||
COMMENT= Readline wrapper
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= ptyttylib_cv_ptys=BSD LDFLAGS=-lutil
|
||||
|
||||
MAN1= rlwrap.1
|
||||
MAN3= RlwrapFilter.3pm
|
||||
|
||||
PORTDOCS= AUTHORS BUGS NEWS PLEA README TODO
|
||||
|
||||
post-patch: .SILENT
|
||||
${REINPLACE_CMD} 's|/dev/ptmx|${NONEXISTENT}|' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (rlwrap-0.36.tar.gz) = f3d687658336789d5155322abcc84a7f
|
||||
SHA256 (rlwrap-0.36.tar.gz) = 87f416dfda0e26d3b59a7d940dd2a871279bc56879f3fe2f0ff5f9bf5369892f
|
||||
SIZE (rlwrap-0.36.tar.gz) = 247198
|
||||
MD5 (rlwrap-0.37.tar.gz) = 04cd6e2c257eb5a86b297f2ebf91dbbf
|
||||
SHA256 (rlwrap-0.37.tar.gz) = 8403a2c184a33ee293a30637afd1362e7dbe0ee642c33b54b2fca68162498bbd
|
||||
SIZE (rlwrap-0.37.tar.gz) = 251438
|
||||
|
|
|
@ -1,14 +1,5 @@
|
|||
--- src/ptytty.c.orig 2010-01-24 01:05:53.000000000 -0800
|
||||
+++ src/ptytty.c 2010-01-24 01:09:19.000000000 -0800
|
||||
@@ -41,7 +41,7 @@
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
|
||||
+#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__FreeBSD__)
|
||||
# include <sys/stropts.h> /* for I_PUSH */
|
||||
#endif
|
||||
|
||||
@@ -159,11 +159,19 @@
|
||||
char pty_name[] = "/dev/pty??";
|
||||
char tty_name[] = "/dev/tty??";
|
||||
|
|
|
@ -7,6 +7,7 @@ bin/rlwrap
|
|||
%%DATADIR%%/filters/censor_passwords
|
||||
%%DATADIR%%/filters/count_in_prompt
|
||||
%%DATADIR%%/filters/ftp_filter
|
||||
%%DATADIR%%/filters/history_format
|
||||
%%DATADIR%%/filters/listing
|
||||
%%DATADIR%%/filters/logger
|
||||
%%DATADIR%%/filters/null
|
||||
|
|
Loading…
Add table
Reference in a new issue