説明なし

500-crosscompile.patch 858B

123456789101112131415161718192021222324252627
  1. --- postfix-2.10.2/makedefs 2013-02-04 05:33:13.000000000 +0400
  2. +++ postfix-2.10.2_patched/makedefs 2013-11-19 22:48:50.528560454 +0400
  3. @@ -107,9 +107,9 @@
  4. case $# in
  5. # Officially supported usage.
  6. - 0) SYSTEM=`(uname -s) 2>/dev/null`
  7. - RELEASE=`(uname -r) 2>/dev/null`
  8. - VERSION=`(uname -v) 2>/dev/null`
  9. + 0) SYSTEM="Linux"
  10. + RELEASE="3.10.18"
  11. + VERSION="OpenWRT"
  12. case "$VERSION" in
  13. dcosx*) SYSTEM=$VERSION;;
  14. esac;;
  15. @@ -384,9 +384,9 @@
  16. esac
  17. for name in nsl resolv
  18. do
  19. - for lib in /usr/lib64 /lib64 /usr/lib /usr/lib/* /lib /lib/*
  20. + for lib in /usr/lib64 /usr/lib64/* /usr/lib /usr/lib/* /lib /lib/*
  21. do
  22. - test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
  23. + test -e $PKG_BUILD_DIR/$lib/lib$name.a -o -e $PKG_BUILD_DIR/$lib/lib$name.so && {
  24. SYSLIBS="$SYSLIBS -l$name"
  25. break
  26. }