ntfsprogs-2.0.0-no-pkgconfig-path-override.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [PATCH] ntfsprogs: don't override PKG_CONFIG_PATH
  2. Adding hardcoded directories to the pkg-config search path breaks
  3. cross compilation (E.G. if the host has a .pc for a package the
  4. target doesn't have).
  5. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  6. ---
  7. configure | 4 ----
  8. configure.ac | 4 ----
  9. 2 files changed, 8 deletions(-)
  10. Index: ntfsprogs-2.0.0/configure.ac
  11. ===================================================================
  12. --- ntfsprogs-2.0.0.orig/configure.ac
  13. +++ ntfsprogs-2.0.0/configure.ac
  14. @@ -168,10 +168,6 @@ AC_PROG_MAKE_SET
  15. AC_PROG_LIBTOOL
  16. PKG_PROG_PKG_CONFIG
  17. -# Libraries often install their metadata .pc files in directories not searched
  18. -# by pkg-config. Let's workaround this.
  19. -export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:$prefix/lib/pkgconfig:/opt/gnome/share/pkgconfig:/usr/local/share/pkgconfig
  20. -
  21. # Enable large file support.
  22. AC_SYS_LARGEFILE
  23. Index: ntfsprogs-2.0.0/configure
  24. ===================================================================
  25. --- ntfsprogs-2.0.0.orig/configure
  26. +++ ntfsprogs-2.0.0/configure
  27. @@ -20210,10 +20210,6 @@ echo "${ECHO_T}no" >&6; }
  28. fi
  29. -# Libraries often install their metadata .pc files in directories not searched
  30. -# by pkg-config. Let's workaround this.
  31. -export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:$prefix/lib/pkgconfig:/opt/gnome/share/pkgconfig:/usr/local/share/pkgconfig
  32. -
  33. # Enable large file support.
  34. # Check whether --enable-largefile was given.
  35. if test "${enable_largefile+set}" = set; then