From d6464a4e407a33b7b8c2003b7879ae7e0382540e Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 3 Aug 2010 14:45:43 +0200 Subject: [PATCH] directfb: fixed build by helping to find the location of libx11 --- video/directfb/directfb.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/video/directfb/directfb.conf b/video/directfb/directfb.conf index 1460ebec7..31a00b2ec 100644 --- a/video/directfb/directfb.conf +++ b/video/directfb/directfb.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../directfb/directfb.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -37,6 +37,8 @@ if pkginstalled libx11 ; then var_append confopt ' ' "--enable-x11" hook_add preconf 5 'sed -i -e "s,/usr/X11R6,/usr/X11,g" configure' [[ $libdir = *lib ]] || hook_add preconf 9 'sed -i -e "s,/usr/X11/lib,/usr/X11/lib64,g" configure' + var_append LDFLAGS ' ' "-L$root/$(pkgprefix libdir libx11)" + export LDFLAGS else var_append confopt ' ' "--disable-x11" fi