From d19bbec72025cca3b03eef35ac3bf6588848323c Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Mon, 18 Aug 2008 18:31:07 +0000 Subject: Added GnuTLS for WeeChat. git-svn-id: http://svn.telesphoreo.org/trunk@424 514c082c-b64e-11dc-b46d-3d985efe055d --- data/weechat/_metadata/gnutls.dep | 1 + data/weechat/_metadata/python.dep | 1 - data/weechat/gnutls.diff | 14 ++++++++++++++ data/weechat/make.sh | 4 +++- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 120000 data/weechat/_metadata/gnutls.dep delete mode 120000 data/weechat/_metadata/python.dep create mode 100644 data/weechat/gnutls.diff (limited to 'data/weechat') diff --git a/data/weechat/_metadata/gnutls.dep b/data/weechat/_metadata/gnutls.dep new file mode 120000 index 000000000..2dbb733a2 --- /dev/null +++ b/data/weechat/_metadata/gnutls.dep @@ -0,0 +1 @@ +../../gnutls \ No newline at end of file diff --git a/data/weechat/_metadata/python.dep b/data/weechat/_metadata/python.dep deleted file mode 120000 index 62afec14c..000000000 --- a/data/weechat/_metadata/python.dep +++ /dev/null @@ -1 +0,0 @@ -../../python \ No newline at end of file diff --git a/data/weechat/gnutls.diff b/data/weechat/gnutls.diff new file mode 100644 index 000000000..0de4a39da --- /dev/null +++ b/data/weechat/gnutls.diff @@ -0,0 +1,14 @@ +diff -ru weechat-0.2.6/configure.in weechat-0.2.6+iPhone/configure.in +--- weechat-0.2.6/configure.in 2007-09-05 14:14:00.000000000 +0000 ++++ weechat-0.2.6+iPhone/configure.in 2008-08-18 18:02:35.000000000 +0000 +@@ -605,8 +597,8 @@ + *** libgnutls was not found. You may want to get it from ftp://ftp.gnutls.org/pub/gnutls/ + *** WeeChat will be built without GnuTLS support.]])) + if test "x$found_gnutls" = "xyes" ; then +- GNUTLS_CFLAGS=`libgnutls-config --cflags` +- GNUTLS_LFLAGS=`libgnutls-config --libs` ++ GNUTLS_CFLAGS=$LIBGNUTLS_CFLAGS ++ GNUTLS_LFLAGS=$LIBGNUTLS_LIBS + AC_SUBST(GNUTLS_CFLAGS) + AC_SUBST(GNUTLS_LFLAGS) + AC_DEFINE(HAVE_GNUTLS) diff --git a/data/weechat/make.sh b/data/weechat/make.sh index 0ac03a457..89cd34e97 100644 --- a/data/weechat/make.sh +++ b/data/weechat/make.sh @@ -1,5 +1,7 @@ pkg:setup +touch aclocal.m4 autoconf -pkg:configure --with-libiconv-prefix="${PKG_ROOT}" --disable-gnutls --disable-python --disable-ruby +# XXX: fix libgnutls-config call to add --prefix +libgnutls_config_args="--prefix=$(PKG_DEST_ gnutls)/usr" pkg:configure --with-libiconv-prefix="${PKG_ROOT}" --with-libgnutls-prefix="$(PKG_DEST_ gnutls)/usr" --disable-python --disable-ruby make pkg:install -- cgit v1.2.3