diff --git a/Makefile b/Makefile index a19ecd2cf2..888b30a507 100644 --- a/Makefile +++ b/Makefile @@ -296,7 +296,12 @@ makeconfig: .makefiles buildtools PLATFORM="netbsd" \ ;; \ FreeBSD) \ - PLATFORM="freebsd" \ + MAJRELEASE=`echo $$OSRELEASE | sed 's/\..*//'` ; \ + if [ $$MAJRELEASE -lt 3 ]; then \ + PLATFORM="freebsd2" ; \ + else \ + PLATFORM="freebsd3" ; \ + fi; \ ;; \ NeXTSTEP) \ PLATFORM="nextstep" \