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.

45 lines
1.4 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../e2fsprogs/e2fsprogs.conf
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  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. # --- T2-COPYRIGHT-NOTE-END ---
  15. prefix=''
  16. createarchcache=1 # utterly broken configure, assumes hardcoding on cross build
  17. set_confopt
  18. fix_pkgconfig_dir() {
  19. [ "$prefix" = "" ] || return
  20. for x in lib/et lib/ss lib/e2p lib/ext2fs lib/uuid lib/blkid ; do
  21. sed -i 's,\($(libdir)/pkgconfig\),/usr\1,' $x/Makefile.in
  22. done
  23. }
  24. if [ "$SDECFG_DIETLIBC_e2fsprogs" == "1" ] ; then
  25. confopt="$confopt --with-diet-libc"
  26. [ "$dietlibc_dynamic_static" = "dynamic" ] &&
  27. var_append confoptx " " "--enable-dynamic-e2fsck"
  28. fi
  29. var_append confopt ' ' '--enable-fsck'
  30. if [ "$SDECFG_STATIC" = "0" ]; then
  31. if atstage native || [ "$crossnative" == "cross" ] ; then
  32. var_append confopt " " "--enable-elf-shlibs"
  33. fi
  34. fi
  35. LD=$CC
  36. # the install does not install the headers ... :-(
  37. var_append makeinstopt ' ' 'install-libs'
  38. hook_add preconf 1 'fix_pkgconfig_dir'