From 33edcd767a42a3932e527f88345311c83d7a598b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 25 Jun 2015 16:28:32 +0200 Subject: [PATCH] tin: unbreak cross compilation; enable IDN support. --- srcpkgs/tin/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/tin/template b/srcpkgs/tin/template index 9aef7190c6f..b5b06779b34 100644 --- a/srcpkgs/tin/template +++ b/srcpkgs/tin/template @@ -1,11 +1,11 @@ # Template file for 'tin' pkgname=tin version=2.2.1 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-ipv6 --with-pcre=${XBPS_CROSS_BASE}/usr" -hostmakedepends="flex" -makedepends="ncurses-devel readline-devel pcre-devel" +hostmakedepends="flex pcre-devel" +makedepends="ncurses-devel readline-devel pcre-devel libidn-devel" short_desc="NNTP and spool based UseNet newsreader" maintainer="allan " license="BSD" @@ -13,6 +13,9 @@ homepage="http://www.tin.org" distfiles="ftp://ftp.tin.org/pub/news/clients/tin/v${version%.*}/tin-${version}.tar.xz" checksum=a9968d4b43e2faa4ca1f27e5f2211fa261b2884846c909f59aa76cdaa955ddc7 +pre_configure() { + sed -i '/BUILD_CPPFLAGS.*=/s/$(PCRE_CPPFLAGS)//' src/Makefile.in +} post_install() { # conflicts with mutt rm -f ${DESTDIR}/usr/share/man/man5/{mmdf.5,mbox.5}