Ticket #40756: mcabber-0.10.3.2.diff
File mcabber-0.10.3.2.diff, 4.3 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name mcabber 7 version 0. 9.108 revision 1 7 version 0.10.3 8 license GPL-2+ 9 9 categories net 10 10 maintainers hitzemann.org:simon 11 11 description Console Jabber client … … 16 16 platforms darwin 17 17 master_sites http://mcabber.com/files/ 18 18 use_bzip2 yes 19 checksums rmd160 656818b304b9088097ad2a0fe485f38cd0e704fc\20 sha256 431e47ba3095c1cc6c11931bab9034c42ba0911dfadcc137ba765803e4460cb519 checksums rmd160 d94e7b2e340cfd83a5b55276cdb0383a8555b347 \ 20 sha256 77466138496cc26db125145cc28dc4fc0df79827143b922dfb9f02eb0dc7fa6d 21 21 22 22 depends_lib port:libiconv \ 23 23 port:ncurses \ … … 25 25 port:gettext \ 26 26 port:libotr \ 27 27 port:gpgme \ 28 port:libgcrypt 28 port:libgcrypt \ 29 port:loudmouth 29 30 30 31 depends_build port:autoconf \ 31 32 port:automake \ … … 32 33 port:coreutils \ 33 34 bin:gawk:gawk \ 34 35 port:libtool \ 35 port:pkgconfig 36 port:pkgconfig \ 37 port:cctools \ 38 port:grep \ 39 port:gsed 36 40 37 41 configure.args --enable-otr \ 38 42 --with-libotr-prefix=${prefix}/lib \ 39 --with-libotr-inc-prefix=${prefix}/include \ 40 --without-ssl \ 41 --without-openssl 43 --with-libotr-inc-prefix=${prefix}/include 42 44 43 45 configure.env LIBTOOL=glibtool 44 46 45 patchfiles patch-autogen.sh.diff \ 46 patch-automake-1.13.diff 47 patchfiles patch-autogen.sh.diff 47 48 48 49 pre-configure { 49 50 system -W ${worksrcpath} "./autogen.sh" … … 51 52 52 53 # TODO 53 54 # Bug #26 on mcabber - see pre-configure section for a workaround 54 variant gnutls description {Use GNUTLS for TLS connections} {55 configure.args-delete --without-ssl56 configure.args-append --with-ssl57 configure.args-append --with-libgnutls-extra-prefix=${prefix}58 depends_lib-append port:gnutls59 }60 61 variant ssl description {Use OpenSSL for SSL connections} {62 configure.args-delete --without-ssl63 configure.args-delete --without-openssl64 configure.args-append --with-ssl65 configure.args-append --with-openssl=${prefix}66 depends_lib-append port:openssl67 }68 69 55 variant aspell description {Use aspell spell checking - remember to install a dictionary, too} { 70 56 configure.args-append --enable-aspell 71 57 depends_lib-append port:aspell … … 72 58 } 73 59 74 60 post-configure { 75 reinplace "s|#define HAVE_LOCALCHARSET_H 1|\/\* #undef HAVE_LOCALCHARSET_H \*\/|g" ${worksrcpath}/ config.h61 reinplace "s|#define HAVE_LOCALCHARSET_H 1|\/\* #undef HAVE_LOCALCHARSET_H \*\/|g" ${worksrcpath}/${name}/config.h 76 62 } 77 63 78 64 livecheck.type regex -
files/patch-autogen.sh.diff
1 --- autogen.sh.orig 2009-02-05 10:54:06.000000000 +01002 +++ autogen.sh 2009-02-05 10:54:17.000000000 +01003 @@ -1, 7 +1,7@@1 --- autogen.sh.orig 2 +++ autogen.sh 3 @@ -1,6 +1,6 @@ 4 4 #! /bin/sh 5 5 6 6 -libtoolize --force --automake --copy 7 -aclocal -I macros/8 7 +glibtoolize --force --automake --copy 9 +aclocal -I macros/ -I macros/missing/8 aclocal -I macros/ 10 9 autoheader 11 10 autoconf 12 11 automake -a --copy -
files/patch-automake-1.13.diff
1 --- configure.ac.orig 2009-10-06 14:34:18.000000000 -05002 +++ configure.ac 2013-03-22 03:05:28.000000000 -05003 @@ -5,7 +5,7 @@4 AC_INIT([mcabber],[0.9.10],[mcabber@lilotux.net])5 AM_INIT_AUTOMAKE6 AC_CONFIG_SRCDIR([src])7 -AM_CONFIG_HEADER(config.h)8 +AC_CONFIG_HEADERS([config.h])9 10 #AC_PROG_LIBTOOL11 AC_PROG_RANLIB