View | Details | Raw Unified | Return to bug 116121 | Differences between
and this patch

Collapse All | Expand All

(-)ttyrec/Makefile (-5 / +7 lines)
Lines 11-32 Link Here
11
CATEGORIES=	misc
11
CATEGORIES=	misc
12
MASTER_SITES=	http://0xcc.net/ttyrec/
12
MASTER_SITES=	http://0xcc.net/ttyrec/
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	lippe@freebsdbrasil.com.br
15
COMMENT=	Tty recorder
15
COMMENT=	Tty recorder
16
16
17
USE_GCC=	3.4+
18
19
MAN1=	ttyplay.1 ttyrec.1
17
MAN1=	ttyplay.1 ttyrec.1
20
18
19
PLIST_FILES=	bin/ttyplay \
20
		bin/ttyrec \
21
		bin/ttytime
22
21
post-patch:
23
post-patch:
22
	@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" \
24
	@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|^CFLAGS|#CFLAGS|g" \
23
		${WRKSRC}/Makefile
25
		${WRKSRC}/Makefile
24
26
25
do-install:
27
do-install:
26
.for file in ttyrec ttyplay ttytime
28
.for files in ttyrec ttyplay ttytime
27
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
29
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
28
.endfor
30
.endfor
29
.for file in ${MAN1}
31
.for files in ${MAN1}
30
	${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1
32
	${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1
31
.endfor
33
.endfor
32
34
(-)ttyrec/files/patch-ttyrec.c (+14 lines)
Line 0 Link Here
1
--- ttyrec.c.orig	Tue Jun  4 21:52:00 2002
2
+++ ttyrec.c	Tue Jun  4 21:52:12 2002
3
@@ -202,11 +202,7 @@
4
 void
5
 finish()
6
 {
7
-#if defined(SVR4)
8
 	int status;
9
-#else /* !SVR4 */
10
-	union wait status;
11
-#endif /* !SVR4 */
12
 	register int pid;
13
 	register int die = 0;
14
 
(-)ttyrec/files/patch-tyrec.c (-14 lines)
Lines 1-14 Link Here
1
--- ttyrec.c.orig	Tue Jun  4 21:52:00 2002
2
+++ ttyrec.c	Tue Jun  4 21:52:12 2002
3
@@ -202,11 +202,7 @@
4
 void
5
 finish()
6
 {
7
-#if defined(SVR4)
8
 	int status;
9
-#else /* !SVR4 */
10
-	union wait status;
11
-#endif /* !SVR4 */
12
 	register int pid;
13
 	register int die = 0;
14
 
(-)ttyrec/pkg-plist (-3 lines)
Lines 1-3 Link Here
1
bin/ttyplay
2
bin/ttyrec
3
bin/ttytime

Return to bug 116121