aboutsummaryrefslogtreecommitdiff
path: root/net/csync2
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-16 14:26:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-16 14:26:58 +0000
commit2f65aa8ba3162db49918b45d158f8e5230e2f4ef (patch)
tree185667a5ee463bce2736312daf344e3fc55cd99a /net/csync2
parent666ce352e287a2ff0c686255e9fc1595948d0023 (diff)
downloadports-2f65aa8ba3162db49918b45d158f8e5230e2f4ef.tar.gz
ports-2f65aa8ba3162db49918b45d158f8e5230e2f4ef.zip
- Unbreak and fix build with gnuTLS
PR: 138804 Submitted by: mitsuru@riken.jp Feature safe: yes
Notes
Notes: svn path=/head/; revision=241515
Diffstat (limited to 'net/csync2')
-rw-r--r--net/csync2/Makefile3
-rw-r--r--net/csync2/files/patch-configure11
2 files changed, 12 insertions, 2 deletions
diff --git a/net/csync2/Makefile b/net/csync2/Makefile
index 8218cb5ef06c..cc9cb520c1e8 100644
--- a/net/csync2/Makefile
+++ b/net/csync2/Makefile
@@ -24,12 +24,11 @@ LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync \
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 --git a/net/csync2/files/patch-configure b/net/csync2/files/patch-configure
new file mode 100644
index 000000000000..c1402324090a
--- /dev/null
+++ b/net/csync2/files/patch-configure
@@ -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"