patch-makedefs 522 B

1234567891011121314151617181920
  1. --- postfix-2.10.2.orig/makedefs 2013-02-04 02:33:13.000000000 +0100
  2. +++ postfix-2.10.2/makedefs 2013-10-10 16:28:03.000000000 +0200
  3. @@ -366,16 +366,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