mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Update minicom to 2.6.1 (bugfix release)
- Convert to new options framework - Remove patch file that is no longer needed
This commit is contained in:
parent
e7cf918ea3
commit
eff7f58be0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299399
@ -7,28 +7,16 @@
|
||||
#
|
||||
|
||||
PORTNAME= minicom
|
||||
PORTVERSION= 2.6
|
||||
PORTVERSION= 2.6.1
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= http://alioth.debian.org/frs/download.php/3689/
|
||||
MASTER_SITES= http://alioth.debian.org/frs/download.php/3700/
|
||||
|
||||
MAINTAINER= johans@FreeBSD.org
|
||||
COMMENT= An MS-DOS Telix serial communication program "workalike"
|
||||
|
||||
OPTIONS= LRZSZ "Install X/Y/ZMODEM protocol handlers" on
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_LRZSZ)
|
||||
RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.endif
|
||||
OPTIONS_DEFINE= LRZSZ
|
||||
OPTIONS_DEFAULT=LRZSZ
|
||||
LRZSZ_DESC= Install X/Y/ZMODEM protocol handlers
|
||||
|
||||
USE_ICONV= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
@ -43,6 +31,20 @@ MAKE_ARGS+= LIBS+="-liconv -lcurses"
|
||||
|
||||
MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MLRZSZ}
|
||||
RUN_DEPENDS+= lrz:${PORTSDIR}/comms/lrzsz
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800045
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (minicom-2.6.tar.gz) = ea5fe79c22dcb115cf5ed287b0e7a69e069bedd39889aa89b1a23f64f53fceb3
|
||||
SIZE (minicom-2.6.tar.gz) = 830255
|
||||
SHA256 (minicom-2.6.1.tar.gz) = a6e7bf533c3796f3a67a7d109f328d46497c687ed13885bd1be4ce0548fc4f56
|
||||
SIZE (minicom-2.6.1.tar.gz) = 830485
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/main.c.orig 2011-09-30 09:57:00.000000000 +0200
|
||||
+++ src/main.c 2011-12-28 16:07:59.000000000 +0100
|
||||
@@ -112,7 +112,7 @@ char *esc_key(void)
|
||||
static void get_alrm(int dummy)
|
||||
{
|
||||
(void)dummy;
|
||||
- errno = ETIME;
|
||||
+ errno = ETIMEDOUT;
|
||||
longjmp(albuf, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user