summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.global.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 6860d3df05..b743ac688c 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.27 1997/10/30 04:46:39 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.28 1997/12/17 04:03:30 scrappy Exp $
#
# NOTES
# Essentially all Postgres make files include this file and use the
@@ -286,4 +286,6 @@ ifdef PROFILE
endif
# Globally pass PORTNAME
-CFLAGS+= -D$(PORTNAME)
+ifdef PORTNAME
+ CFLAGS+= -D$(PORTNAME)
+endif