|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# |
|
|
|
# Filename: package/.../directfb/directfb.conf |
|
|
|
# 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 |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
@ -37,6 +37,8 @@ if pkginstalled libx11 ; then |
|
|
|
var_append confopt ' ' "--enable-x11" |
|
|
|
var_append confopt ' ' "--enable-x11" |
|
|
|
hook_add preconf 5 'sed -i -e "s,/usr/X11R6,/usr/X11,g" configure' |
|
|
|
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' |
|
|
|
[[ $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 |
|
|
|
else |
|
|
|
var_append confopt ' ' "--disable-x11" |
|
|
|
var_append confopt ' ' "--disable-x11" |
|
|
|
fi |
|
|
|
fi |
|
|
|