Ticket #40756: mcabber-0.10.3.diff
File mcabber-0.10.3.diff, 3.3 KB (added by mojca (Mojca Miklavec), 10 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name mcabber 7 version 0.9.10 8 revision 1 7 version 0.10.3 9 8 categories net 10 9 maintainers hitzemann.org:simon 11 10 description Console Jabber client … … 16 15 platforms darwin 17 16 master_sites http://mcabber.com/files/ 18 17 use_bzip2 yes 19 checksums rmd160 656818b304b9088097ad2a0fe485f38cd0e704fc\20 sha256 431e47ba3095c1cc6c11931bab9034c42ba0911dfadcc137ba765803e4460cb518 checksums rmd160 d94e7b2e340cfd83a5b55276cdb0383a8555b347 \ 19 sha256 77466138496cc26db125145cc28dc4fc0df79827143b922dfb9f02eb0dc7fa6d 21 20 22 21 depends_lib port:libiconv \ 23 22 port:ncurses \ … … 25 24 port:gettext \ 26 25 port:libotr \ 27 26 port:gpgme \ 28 port:libgcrypt 27 port:libgcrypt \ 28 port:loudmouth 29 29 30 30 depends_build port:autoconf \ 31 31 port:automake \ … … 32 32 port:coreutils \ 33 33 bin:gawk:gawk \ 34 34 port:libtool \ 35 port:pkgconfig 35 port:pkgconfig \ 36 port:cctools \ 37 port:grep \ 38 port:gsed 36 39 37 40 configure.args --enable-otr \ 38 41 --with-libotr-prefix=${prefix}/lib \ … … 42 45 43 46 configure.env LIBTOOL=glibtool 44 47 45 patchfiles patch-autogen.sh.diff \ 46 patch-automake-1.13.diff 48 patchfiles patch-autogen.sh.diff 47 49 48 50 pre-configure { 49 51 system -W ${worksrcpath} "./autogen.sh" … … 72 74 } 73 75 74 76 post-configure { 75 reinplace "s|#define HAVE_LOCALCHARSET_H 1|\/\* #undef HAVE_LOCALCHARSET_H \*\/|g" ${worksrcpath}/ config.h77 reinplace "s|#define HAVE_LOCALCHARSET_H 1|\/\* #undef HAVE_LOCALCHARSET_H \*\/|g" ${worksrcpath}/${name}/config.h 76 78 } 77 79 78 80 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