comms/seyon: update to 2.20c

- Switch to Debian distfile
- Unbreak make -jN build
This commit is contained in:
Jan Beich 2015-05-08 01:45:37 +00:00
parent 9c89541027
commit a194fc37be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385721
4 changed files with 26 additions and 19 deletions

View file

@ -2,24 +2,22 @@
# $FreeBSD$
PORTNAME= seyon
PORTVERSION= 2.14b
PORTREVISION= 2
PORTVERSION= 2.20c
CATEGORIES= comms
MASTER_SITES= ftp://sipb.mit.edu/pub/seyon/
DISTNAME= Seyon-${PORTVERSION}
EXTRACT_SUFX= -tar.Z
MASTER_SITES= DEBIAN
DISTFILES= ${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Communications package for the X Window system
BROKEN= Unfetchable
WRKSRC= ${WRKDIR}/seyon
USES= imake
USE_XORG= x11 xext xpm xmu xaw xt sm ice
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/seyon lib/X11/app-defaults/Seyon \
lib/X11/app-defaults/Seyon-color lib/X11/seyon.help \
man/man1/${PORTNAME}.1.gz
post-extract:
${CHMOD} +x ${WRKSRC}/makever.sh
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (Seyon-2.14b-tar.Z) = 17aa8f3520def76339bd2baa69c8ea11009693081151ec1c20a4f5f4f5b49bca
SIZE (Seyon-2.14b-tar.Z) = 224819
SHA256 (seyon_2.20c.orig.tar.gz) = f221699ac420e55f0d769d4c50699a7e1552132cafe2a65192c3f3f090ca9048
SIZE (seyon_2.20c.orig.tar.gz) = 167487

View file

@ -1,7 +1,7 @@
--- Imakefile.orig Mon Mar 29 13:40:32 1999
+++ Imakefile Mon Mar 29 13:40:41 1999
@@ -46,13 +46,6 @@
InstallAppDefaultsLong(Seyon-co,Seyon-color)
--- Imakefile.orig 1999-05-09 20:51:54 UTC
+++ Imakefile
@@ -47,13 +47,6 @@ InstallAppDefaultsLong(Seyon-co,Seyon-co
InstallAppDefaultsLong(Seyon,Seyon)
InstallNonExecFile(seyon.help,$(LIBDIR))
-install::
@ -13,3 +13,12 @@
-
clean::
rm -f version.h y.tab.* SeParse.c
@@ -73,5 +66,5 @@ SeScan.o: y.tab.h
y.tab.h y.tab.c: SeParse.y
$(YACC) -d SeParse.y
-SeParse.c: SeParse.y
- $(MV) y.tab.c SeParse.c
+SeParse.c: y.tab.c
+ $(CP) y.tab.c SeParse.c

View file

@ -1,6 +1,6 @@
--- SePort.c.orig Thu Apr 4 11:44:26 1996
+++ SePort.c Thu Apr 4 11:51:54 1996
@@ -1011,6 +1011,7 @@
--- SePort.c.orig 2015-05-08 01:08:39 UTC
+++ SePort.c
@@ -1022,6 +1022,7 @@ lock_tty()
pid_t pid,
lckpid;
char *modemname;
@ -8,11 +8,11 @@
#if LF_USE_ASCII_PID
char pidstr[20],
lckpidstr[20];
@@ -1077,11 +1078,13 @@
@@ -1088,11 +1089,13 @@ relink:
#endif
lockPid = (pid_t) lckpid;
- if (kill(lckpid, 0) == 0) {
- if (kill(lckpid, 0) == 0 || errno != ESRCH) {
- SeErrorF("Device %s is locked by process %d", modem_port, lckpid, "");
- unlink(ltmp);
- return -1;