]> git.sur5r.net Git - openldap/commitdiff
Missed on of the FreeBSD split pieces
authorKurt Zeilenga <kurt@openldap.org>
Fri, 28 Aug 1998 05:44:46 +0000 (05:44 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 28 Aug 1998 05:44:46 +0000 (05:44 +0000)
Makefile

index a19ecd2cf29d5ad525c49a2e6752614e87b94e02..888b30a507c9276e8a36dabceaaa8714d8ac2c85 100644 (file)
--- 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" \