From beab2b2edd08d1b2c38b8650573f989576cb9f20 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 20 May 2014 08:28:03 +0200 Subject: [PATCH] libotr: cross build support. --- srcpkgs/libotr/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libotr/template b/srcpkgs/libotr/template index 233e34948c8..2a28c9400c4 100644 --- a/srcpkgs/libotr/template +++ b/srcpkgs/libotr/template @@ -1,7 +1,7 @@ # Template build file for 'libotr'. pkgname=libotr version=4.0.0 -revision=1 +revision=2 build_style=gnu-configure makedepends="libgcrypt-devel" short_desc="Off-the-Record Messaging Library and Toolkit" @@ -11,6 +11,10 @@ license="GPL-2, LGPL-2.1" distfiles="http://www.cypherpunks.ca/otr/libotr-${version}.tar.gz" checksum=3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4 +pre_build() { + sed '/INCLUDES/s,-I$(includedir),,' -i toolkit/Makefile +} + libotr-progs_package() { short_desc+=" - applications" pkg_install() {