patch-makedefs 517 B

1234567891011121314151617181920
  1. --- postfix-2.11.0.orig/makedefs 2014-01-05 18:18:56.000000000 +0100
  2. +++ postfix-2.11.0/makedefs 2014-03-25 08:55:06.000000000 +0100
  3. @@ -382,16 +382,7 @@ EOF
  4. SYSLIBS="-ldb"
  5. ;;
  6. esac
  7. - for name in nsl resolv
  8. - do
  9. - for lib in /usr/lib64 /lib64 /usr/lib /usr/lib/* /lib /lib/*
  10. - do
  11. - test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
  12. - SYSLIBS="$SYSLIBS -l$name"
  13. - break
  14. - }
  15. - done
  16. - done
  17. + SYSLIBS="-lresolv"
  18. ;;
  19. GNU.0*|GNU/kFreeBSD.[567]*)
  20. SYSTYPE=GNU0