diff options
Diffstat (limited to 'data/weechat')
l--------- | data/weechat/_metadata/gnutls.dep | 1 | ||||
l--------- | data/weechat/_metadata/python.dep | 1 | ||||
-rw-r--r-- | data/weechat/gnutls.diff | 14 | ||||
-rw-r--r-- | data/weechat/make.sh | 4 |
4 files changed, 18 insertions, 2 deletions
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 |