From 3b7af30c7ca7419bd2339108fedf320f0bfc1be1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 6 Jun 2014 06:39:45 +0200 Subject: [PATCH] wayland: fixed cross build. --- srcpkgs/wayland/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/wayland/template b/srcpkgs/wayland/template index 1cece6af72..e2f6288ed6 100644 --- a/srcpkgs/wayland/template +++ b/srcpkgs/wayland/template @@ -4,7 +4,7 @@ version=1.5.0 revision=2 build_style=gnu-configure configure_args="--disable-documentation --disable-static" -hostmakedepends="pkg-config flex" +hostmakedepends="automake libtool pkg-config flex" makedepends="libfl-devel libffi-devel expat-devel" short_desc="Wayland protocol compositor" maintainer="Juan RP " @@ -13,11 +13,12 @@ license="MIT" distfiles="http://wayland.freedesktop.org/releases/wayland-${version}.tar.xz" checksum=0069e1e9af888b3e05384380ad8cc6c976ea3e81d08ba19b7675ce1d693a41b5 +pre_configure() { + autoreconf -fi +} + if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" libtool wayland-devel" - pre_configure() { - libtoolize -f - } + hostmakedepends+=" wayland-devel" post_configure() { # Use host wayland-scanner sed -e '/$(AM_V_GEN)/s,$(wayland_scanner),wayland-scanner,g' -i Makefile.in