From 024cca2a5a9ee7c3c37f8c44ae7b2c89d5542a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 16 May 2016 14:27:31 +0200 Subject: [PATCH] hsetroot: fix cross build Can't check for existing files when cross compiling, thus always just set LDFLAGS="-lX11". --- .../patches/{fix-x11-detect.patch => fix-libx11.patch} | 4 ++-- srcpkgs/hsetroot/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename srcpkgs/hsetroot/patches/{fix-x11-detect.patch => fix-libx11.patch} (78%) diff --git a/srcpkgs/hsetroot/patches/fix-x11-detect.patch b/srcpkgs/hsetroot/patches/fix-libx11.patch similarity index 78% rename from srcpkgs/hsetroot/patches/fix-x11-detect.patch rename to srcpkgs/hsetroot/patches/fix-libx11.patch index 2f8da237736..da9893ccde9 100644 --- a/srcpkgs/hsetroot/patches/fix-x11-detect.patch +++ b/srcpkgs/hsetroot/patches/fix-libx11.patch @@ -4,8 +4,8 @@ # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST -+# Check for X11 -+AC_CHECK_FILE([/usr/lib/libX11.so], [LDFLAGS="-L/usr/lib -lX11"]) ++# Need libX11 ++LDFLAGS="-lX11" + # Check for imlib2 AC_CHECK_PROGS(imlib2config_cmd, imlib2-config) diff --git a/srcpkgs/hsetroot/template b/srcpkgs/hsetroot/template index 0386746e48b..fc302944120 100644 --- a/srcpkgs/hsetroot/template +++ b/srcpkgs/hsetroot/template @@ -1,7 +1,7 @@ # Template build file for 'hsetroot'. pkgname=hsetroot version=1.0.2 -revision=6 +revision=7 build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="libX11-devel imlib2-devel"