ports/138804: Update port: net/csync2 a patch to compile with new gnuTLS

mitsuru at riken.jp mitsuru at riken.jp
Mon Sep 14 06:20:03 UTC 2009


>Number:         138804
>Category:       ports
>Synopsis:       Update port: net/csync2  a patch to compile with new gnuTLS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 14 06:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 7.2-RELEASE
>Organization:
>Environment:
System: FreeBSD 7.2-RELEASE


	
>Description:
	This is a patch to solve the problem of net/csync2, which does not
       compile with new gnuTLS.
>How-To-Repeat:
	
>Fix:


diff -ruN csync2.org/Makefile csync2/Makefile
--- csync2.org/Makefile	2009-09-03 14:39:39.000000000 +0900
+++ csync2/Makefile	2009-09-03 14:40:09.000000000 +0900
@@ -24,12 +24,11 @@
 
 MAN1=	csync2.1
 
-BROKEN=		does not compile with new gnuTLS
-
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
 CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV+=	LIBGNUTLS_CONFIG="${LOCALBASE}/bin/pkg-config gnutls"
 
 PLIST_FILES=	etc/csync2.cfg-dist \
 		sbin/csync2 \
diff -ruN csync2.org/files/patch-configure csync2/files/patch-configure
--- csync2.org/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
+++ csync2/files/patch-configure	2009-09-03 14:23:51.000000000 +0900
@@ -0,0 +1,11 @@
+--- configure.org	2009-09-03 14:22:32.000000000 +0900
++++ configure	2009-09-03 14:23:02.000000000 +0900
+@@ -3836,7 +3836,7 @@
+   else
+     LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
+     LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
+-    libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
++    libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --modversion`
+ 
+ 
+       ac_save_CFLAGS="$CFLAGS"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list