diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-09-16 14:26:58 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-09-16 14:26:58 +0000 |
commit | 2f65aa8ba3162db49918b45d158f8e5230e2f4ef (patch) | |
tree | 185667a5ee463bce2736312daf344e3fc55cd99a /net/csync2 | |
parent | 666ce352e287a2ff0c686255e9fc1595948d0023 (diff) | |
download | ports-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/Makefile | 3 | ||||
-rw-r--r-- | net/csync2/files/patch-configure | 11 |
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" |