Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 05:30:35 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47317: Update port: devel/cvsd to 0.9.16
Message-ID:  <20030122053035.641f8d46.tkato@prontomail.com>

next in thread | raw e-mail | index | archive | help

>Number:         47317
>Category:       ports
>Synopsis:       Update port: devel/cvsd to 0.9.16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 12:40:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.16

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/cvsd/Makefile devel/cvsd/Makefile
--- /usr/ports/devel/cvsd/Makefile	Thu Dec 12 19:45:52 2002
+++ devel/cvsd/Makefile	Mon Jan 20 08:51:52 2003
@@ -7,31 +7,33 @@
 #
 
 PORTNAME=	cvsd
-PORTVERSION=	0.9.14
+PORTVERSION=	0.9.16
 CATEGORIES=	devel
 MASTER_SITES=	http://tiefighter.et.tudelft.nl/~arthur/cvsd/
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
+USE_PERL5=	yes
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-USE_PERL5=	yes
-CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS=	--with-libwrap
+MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+		AUTOHEADER="${TRUE}"
 
 MAN5=	cvsd.conf.5
 MAN8=	cvsd.8 cvsd-buildroot.8 cvsd-passwd.8
 
+.if !exists(/usr/include/getopt.h)
+LIB_DEPENDS+=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
+.endif
+
 post-patch:
-	@${REINPLACE_CMD} -e \
-		's|@ACLOCAL@|${TRUE}|g ; \
-		 s|@AUTOCONF@|${TRUE}|g ; \
-		 s|@AUTOMAKE@|${TRUE}|g ; \
-		 s|@AUTOHEADER@|${TRUE}|g ; \
-		 s|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \
+	@${REINPLACE_CMD} -e 's|init.d/cvsd|rc.d/cvsd.sh.sample|g ; \
 		 s|init.d|rc.d|g' ${WRKSRC}/Makefile.in
 
 post-install:
diff -urN /usr/ports/devel/cvsd/distinfo devel/cvsd/distinfo
--- /usr/ports/devel/cvsd/distinfo	Fri Nov  1 21:49:27 2002
+++ devel/cvsd/distinfo	Mon Jan 20 08:49:49 2003
@@ -1 +1 @@
-MD5 (cvsd-0.9.14.tar.gz) = bd978dad0d96875d1bf298aef397a359
+MD5 (cvsd-0.9.16.tar.gz) = 2f481b4ece7ae77ad24c39aaa61d5186
diff -urN /usr/ports/devel/cvsd/files/patch-configure devel/cvsd/files/patch-configure
--- /usr/ports/devel/cvsd/files/patch-configure	Sun Sep 22 02:58:40 2002
+++ devel/cvsd/files/patch-configure	Mon Jan 20 08:49:49 2003
@@ -1,18 +1,18 @@
---- configure	Sat Sep 14 18:11:40 2002
-+++ configure	Sat Sep 21 20:39:57 2002
-@@ -5498,6 +5498,7 @@
-   cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
+--- configure.orig	Sun Jan 19 22:20:34 2003
++++ configure	Mon Jan 20 02:43:51 2003
+@@ -6428,6 +6428,7 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
 +#include <sys/types.h>
  #include <sys/socket.h>
  
- #ifdef F77_DUMMY_MAIN
-@@ -5557,6 +5558,7 @@
-   cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
+ int
+@@ -6486,6 +6487,7 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h.  */
 +#include <sys/types.h>
  #include <sys/socket.h>
  
- #ifdef F77_DUMMY_MAIN
+ int
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030122053035.641f8d46.tkato>