Date: Thursday, June 5, 2014 @ 11:20:43 Author: alucryd Revision: 112695
FS#40693: hexchat 2.10.0-2 Modified: hexchat/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-06-05 07:22:40 UTC (rev 112694) +++ PKGBUILD 2014-06-05 09:20:43 UTC (rev 112695) @@ -4,7 +4,7 @@ pkgname=hexchat pkgver=2.10.0 -pkgrel=1 +pkgrel=2 pkgdesc='A popular and easy to use graphical IRC (chat) client' arch=('i686' 'x86_64') url='http://hexchat.github.io/' @@ -18,10 +18,16 @@ source=("http://dl.hexchat.net/${pkgname}/${pkgname}-${pkgver}.tar.xz") sha256sums=('a0247f1e12379154d0719d9c6861dc22817b588562653bb9d3626863d8eca916') +prepare() { + cd ${pkgname}-${pkgver} + + sed 's/CFLAGS="$PERL_CFLAGS"/CFLAGS="$PERL_CFLAGS -fuse-ld=gold"/' -i configure +} + build() { cd ${pkgname}-${pkgver} - ./configure --prefix='/usr' --enable-{python='python3.4',textfe} + ./configure --prefix='/usr' --enable-{perl,python='python3.4',textfe} make }