From b38b6186fb0fa71dac8f6f0b0a3ba8701306b709 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 24 Mar 2013 15:34:33 +0100 Subject: [PATCH] slim: cross build and dbg support. --- srcpkgs/slim/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/slim/template b/srcpkgs/slim/template index 341bc1a08fb..731ce823be9 100644 --- a/srcpkgs/slim/template +++ b/srcpkgs/slim/template @@ -1,7 +1,7 @@ # Template file for 'slim' pkgname=slim version=1.3.5 -revision=1 +revision=2 build_style=cmake configure_args="-DUSE_PAM=yes -DUSE_CONSOLEKIT=no" short_desc="Desktop-independent graphical login manager for X11" @@ -12,8 +12,9 @@ distfiles="http://download.berlios.de/slim/slim-${version}.tar.gz" checksum=818d209f51e2fa8d5b94ef75ce90a7415be48b45e796d66f8083a9532b655629 conf_files="/etc/slim.conf /etc/pam.d/slim" -makedepends="cmake pkg-config libpng-devel libjpeg-turbo-devel libXmu-devel - libXft-devel pam-devel" +# XXX make cmake find host libraries . +makedepends="libpng-devel libjpeg-turbo-devel libX11-devel libXmu-devel libXft-devel pam-devel" +hostmakedepends="cmake pkg-config ${makedepends}" pre_configure() { sed -i 's|usr/lib/systemd/system|/&|' CMakeLists.txt