Browse Source

directfb: fixed build by helping to find the location of libx11

user/karasz/next/updates
Christian Wiese 15 years ago
parent
commit
d6464a4e40
  1. 4
      video/directfb/directfb.conf

4
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

Loading…
Cancel
Save