OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xorg-server/modular-x-conf.in
  5. # Copyright (C) 2007 - 2008 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. if [ $prefix_auto = 1 ] ; then
  16. prefix="usr/X11R7"
  17. set_confopt
  18. fi
  19. # apply external patches that Are defined in the .desc file
  20. var_append patchfiles ' ' "`match_source_file -p patch`"
  21. # in the past we suppressed generating those cache files, however then e.g.
  22. # the virtual X server needed to build / install some packages does not work
  23. flistdel="$flistdel|.*fonts/.*fonts\.(dir|scale|cache.*)|var/cache/fontconfig.*"
  24. # needed due to inconsistent app-defaults dir handling
  25. for ad in usr/X11/lib/X11/app-defaults usr/X11/lib64/X11/app-defaults \
  26. \$prefix/lib/X11/app-defaults \$prefix/lib64/X11/app-defaults \
  27. usr/X11/lib/app-defaults usr/X11/lib64/app-defaults; do
  28. var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,$ad,etc/X11/app-defaults,'"
  29. done
  30. # while cross compiling some Xorg packages need help
  31. #
  32. if atstage cross; then
  33. if pkginstalled -f xproto; then
  34. # help them to find xproto files
  35. export XPROTO_CFLAGS="-I$root$( pkgprefix includedir xproto )"
  36. fi
  37. # tests that can't be performed while cross compiling
  38. # it's better to disable than assuming the wrong (config.cache)
  39. var_append extraconfopt ' ' '--disable-malloc0returnsnull'
  40. fi