]> git.sur5r.net Git - openldap/blobdiff - Makefile
Wrap $CC with quotes.
[openldap] / Makefile
index 888b30a507c9276e8a36dabceaaa8714d8ac2c85..d910580217aa1ec345fb1709e92c8456eddf40ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -295,6 +295,9 @@ makeconfig: .makefiles buildtools
            NetBSD) \
                PLATFORM="netbsd" \
                ;; \
+           OpenBSD) \
+               PLATFORM="openbsd" \
+               ;; \
            FreeBSD) \
                MAJRELEASE=`echo $$OSRELEASE | sed 's/\..*//'` ; \
                if [ $$MAJRELEASE -lt 3 ]; then \
@@ -318,7 +321,7 @@ makeconfig: .makefiles buildtools
                ;; \
            esac; \
        fi; \
-       CC=$(CC); \
+       CC="$(CC)"; \
        OLDIFS="$$IFS"; \
        IFS=":"; \
        for dir in $$PATH; do \
@@ -339,8 +342,7 @@ Make-common: Make-common.dist
                echo "or touch Make-common to ignore."; \
                exit 1; \
        fi; \
-       cp Make-common.dist Make-common; \
-       echo "Make-common installed from distribution." ; \
+       echo "Copy Make-common.dist or Make-common.gmake to Make-common"; \
        echo "  Edit as needed before making!"  ; \
        exit 1
 #