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

(-)devel/cvsd/Makefile (-12 / +14 lines)
Lines 7-37 Link Here
7
#
7
#
8
8
9
PORTNAME=	cvsd
9
PORTNAME=	cvsd
10
PORTVERSION=	0.9.14
10
PORTVERSION=	0.9.16
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	http://tiefighter.et.tudelft.nl/~arthur/cvsd/
12
MASTER_SITES=	http://tiefighter.et.tudelft.nl/~arthur/cvsd/
13
13
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
15
16
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
17
16
17
USE_PERL5=	yes
18
USE_REINPLACE=	yes
18
USE_REINPLACE=	yes
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
USE_PERL5=	yes
20
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
21
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
21
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
22
CONFIGURE_ARGS=	--with-libwrap
23
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
23
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
24
		AUTOHEADER="${TRUE}"
24
25
25
MAN5=	cvsd.conf.5
26
MAN5=	cvsd.conf.5
26
MAN8=	cvsd.8 cvsd-buildroot.8 cvsd-passwd.8
27
MAN8=	cvsd.8 cvsd-buildroot.8 cvsd-passwd.8
27
28
29
.if !exists(/usr/include/getopt.h)
30
LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
31
CPPFLAGS+=	-I${LOCALBASE}/include
32
LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
33
.endif
34
28
post-patch:
35
post-patch:
29
	@${REINPLACE_CMD} -e \
36
	@${REINPLACE_CMD} -e 's|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \
30
		's|@ACLOCAL@|${TRUE}|g ; \
31
		 s|@AUTOCONF@|${TRUE}|g ; \
32
		 s|@AUTOMAKE@|${TRUE}|g ; \
33
		 s|@AUTOHEADER@|${TRUE}|g ; \
34
		 s|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \
35
		 s|init.d|rc.d|g' ${WRKSRC}/Makefile.in
37
		 s|init.d|rc.d|g' ${WRKSRC}/Makefile.in
36
38
37
post-install:
39
post-install:
(-)devel/cvsd/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (cvsd-0.9.14.tar.gz) = bd978dad0d96875d1bf298aef397a359
1
MD5 (cvsd-0.9.16.tar.gz) = 2f481b4ece7ae77ad24c39aaa61d5186
(-)devel/cvsd/files/patch-configure (-12 / +12 lines)
Lines 1-18 Link Here
1
--- configure	Sat Sep 14 18:11:40 2002
1
--- configure.orig	Sun Jan 19 22:20:34 2003
2
+++ configure	Sat Sep 21 20:39:57 2002
2
+++ configure	Mon Jan 20 02:43:51 2003
3
@@ -5498,6 +5498,7 @@
3
@@ -6428,6 +6428,7 @@
4
   cat >conftest.$ac_ext <<_ACEOF
4
 cat confdefs.h >>conftest.$ac_ext
5
 #line $LINENO "configure"
5
 cat >>conftest.$ac_ext <<_ACEOF
6
 #include "confdefs.h"
6
 /* end confdefs.h.  */
7
+#include <sys/types.h>
7
+#include <sys/types.h>
8
 #include <sys/socket.h>
8
 #include <sys/socket.h>
9
 
9
 
10
 #ifdef F77_DUMMY_MAIN
10
 int
11
@@ -5557,6 +5558,7 @@
11
@@ -6486,6 +6487,7 @@
12
   cat >conftest.$ac_ext <<_ACEOF
12
 cat confdefs.h >>conftest.$ac_ext
13
 #line $LINENO "configure"
13
 cat >>conftest.$ac_ext <<_ACEOF
14
 #include "confdefs.h"
14
 /* end confdefs.h.  */
15
+#include <sys/types.h>
15
+#include <sys/types.h>
16
 #include <sys/socket.h>
16
 #include <sys/socket.h>
17
 
17
 
18
 #ifdef F77_DUMMY_MAIN
18
 int

Return to bug 47317