View | Details | Raw Unified | Return to bug 39948
Collapse All | Expand All

(-)distcc/Makefile (-4 / +22 lines)
Lines 6-30 Link Here
6
#
6
#
7
7
8
PORTNAME=	distcc
8
PORTNAME=	distcc
9
PORTVERSION=	0.4
9
PORTVERSION=	0.5
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	http://ftp.samba.org/ftp/distcc/
11
MASTER_SITES=	http://ftp.samba.org/ftp/distcc/
12
12
13
MAINTAINER=	frerich.raabe@gmx.de
13
MAINTAINER=	frerich.raabe@gmx.de
14
14
15
LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
15
LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
16
BUILD_DEPENDS=	ps2pdf:${PORTSDIR}/print/ghostscript-gnu
16
17
18
USE_GMAKE=	yes
17
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
18
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \
20
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \
19
		LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
21
	LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
20
22
21
BUILD_WRKSRC=	${WRKSRC}/src
23
MAN1=	distcc.1 distccd.1
24
25
DOC_FILES=	distcc.pdf distcc.ps distcc.html \
26
	distccd.pdf distccd.ps distccd.html
22
27
23
do-install:
28
do-install:
24
	@${INSTALL_PROGRAM} ${WRKSRC}/src/distcc ${PREFIX}/bin
29
	@${INSTALL_PROGRAM} ${WRKSRC}/src/distcc ${PREFIX}/bin
25
	@${INSTALL_PROGRAM} ${WRKSRC}/src/distccd ${PREFIX}/sbin
30
	@${INSTALL_PROGRAM} ${WRKSRC}/src/distccd ${PREFIX}/sbin
26
31
27
post-install:
32
post-install: install-doc install-man
28
	@${CAT} ${PKGMESSAGE}
33
	@${CAT} ${PKGMESSAGE}
34
35
install-doc:
36
.if !defined(NOPORTDOCS)
37
	@${MKDIR} ${DOCSDIR}
38
.for file in ${DOC_FILES}
39
	@${INSTALL_MAN} ${WRKSRC}/man/${file} ${DOCSDIR}
40
.endfor
41
.endif
42
43
install-man:
44
.for file in ${MAN1}
45
	${INSTALL_MAN} ${WRKSRC}/man/${file} ${MANPREFIX}/man/man1
46
.endfor
29
47
30
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)distcc/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (distcc-0.4.tar.gz) = 3b21a4bde9810eb8040b05e6924430f8
1
MD5 (distcc-0.5.tar.gz) = e3c7054c2bd766b891b1ad9e779d3f7e
(-)distcc/files/patch-src::dparent.c (-11 lines)
Lines 1-11 Link Here
1
--- src/dparent.c.orig	Tue Jun 25 15:58:35 2002
2
+++ src/dparent.c	Tue Jun 25 15:58:48 2002
3
@@ -126,7 +126,7 @@
4
 
5
     memset(&act_exited, 0, sizeof act_exited);
6
     act_exited.sa_handler = dcc_child_exited;
7
-    act_exited.sa_flags = SA_NOCLDSTOP;
8
+    act_exited.sa_flags = SA_NOCLDSTOP|SA_RESTART;
9
 
10
     if (sigaction(SIGTERM, &act_catch, NULL)
11
         || sigaction(SIGHUP, &act_catch, NULL)
(-)distcc/files/patch-src::serve.c (-11 lines)
Lines 1-11 Link Here
1
--- src/serve.c.orig	Tue Jun 25 15:42:07 2002
2
+++ src/serve.c	Tue Jun 25 15:42:30 2002
3
@@ -189,7 +189,7 @@
4
      *
5
      * XXX: Perhaps this should be optional so that we can compare
6
      * performance each way? */
7
-    if (mknod(temp_i, S_IFIFO|S_IRUSR|S_IWUSR, 0) == -1) {
8
+    if (mkfifo(temp_i, S_IFIFO|S_IRUSR|S_IWUSR) == -1) {
9
         rs_log_error("failed to make fifo %s: %s", temp_i,
10
                      strerror(errno));
11
         goto failed;
(-)distcc/pkg-plist (+7 lines)
Lines 1-2 Link Here
1
bin/distcc
1
bin/distcc
2
sbin/distccd
2
sbin/distccd
3
%%PORTDOCS%%share/doc/distcc/distcc.pdf
4
%%PORTDOCS%%share/doc/distcc/distcc.ps
5
%%PORTDOCS%%share/doc/distcc/distcc.html
6
%%PORTDOCS%%share/doc/distcc/distccd.pdf
7
%%PORTDOCS%%share/doc/distcc/distccd.ps
8
%%PORTDOCS%%share/doc/distcc/distccd.html
9
%%PORTDOCS%%@dirrm share/doc/distcc

Return to bug 39948