|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../xorg-server/modular-x-conf.in |
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2008 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
@ -32,3 +32,15 @@ for ad in usr/X11/lib/X11/app-defaults usr/X11/lib64/X11/app-defaults \
|
|
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,$ad,etc/X11/app-defaults,'" |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
# while cross compiling some Xorg packages need help |
|
|
|
|
# |
|
|
|
|
if atstage cross; then |
|
|
|
|
if pkginstalled -f xproto; then |
|
|
|
|
# help them to find xproto files |
|
|
|
|
export XPROTO_CFLAGS="-I$root$( pkgprefix includedir xproto )" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# tests that can't be performed while cross compiling |
|
|
|
|
# it's better to disable than assuming the wrong (config.cache) |
|
|
|
|
var_append extraconfopt ' ' '--disable-malloc0returnsnull' |
|
|
|
|
fi |
|
|
|
|