diff --git a/src/GNUmakefile.in b/src/GNUmakefile.in
index 06ee2deb7d655063c7a5724a4ee595ce9ba5af06..6407034d0be90a97374a4347730b89167bfa3240 100644
--- a/src/GNUmakefile.in
+++ b/src/GNUmakefile.in
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.20 1997/12/02 03:19:42 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.21 1997/12/22 05:56:43 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -24,7 +24,7 @@ ETAGS = @etags@
 XARGS = @xargs@
 
 all:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 	  echo You must set the PORTNAME value in Makefile.global before \
 	       you can build Postgres. ;\
 	  false ;\
@@ -51,7 +51,7 @@ endif
         fi
 
 install:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 		echo You must set the PORTNAME value in Makefile.global before \
 			you can build Postgres. ;\
 		false ;\
@@ -68,7 +68,7 @@ endif
 	cat ../register.txt
 
 clean:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 		echo You must set the PORTNAME value in Makefile.global before \
 			you can build Postgres. ;\
 		false ;\
@@ -101,7 +101,7 @@ distclean: clean
 
 
 .DEFAULT:
-	@if test $(PORTNAME) = UNDEFINED; then \
+	@if test "$(PORTNAME)" = UNDEFINED; then \
 	  echo You must set the PORTNAME value in Makefile.global before \
 	       you can build Postgres. ;\
 	  false ;\