From 3ca966bb6b17174e92740f8629c890ca4c249303 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 20 May 2014 10:23:48 +0200 Subject: [PATCH] libotr3: cross build support. --- srcpkgs/libotr3/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libotr3/template b/srcpkgs/libotr3/template index 5ff5494ba12..39a6f8b0df7 100644 --- a/srcpkgs/libotr3/template +++ b/srcpkgs/libotr3/template @@ -1,7 +1,7 @@ # Template build file for 'libotr3'. pkgname=libotr3 version=3.2.1 -revision=2 +revision=3 wrksrc="libotr-${version}" build_style=gnu-configure configure_args="--program-transform-name='s/otr/otr3/'" @@ -13,6 +13,10 @@ license="GPL-2, LGPL-2.1" distfiles="http://www.cypherpunks.ca/otr/libotr-${version}.tar.gz" checksum=d428eaa584984baa09450cca07742e0ac8fc62401f3a1c556e3025023369cdf4 +pre_build() { + sed '/INCLUDES/s,-I$(includedir),,' -i toolkit/Makefile +} + post_install() { for i in parse sesskeys mackey readforge modify remac; do rm ${DESTDIR}/usr/share/man/man1/otr_${i}.1