aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-12-17 04:03:30 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-12-17 04:03:30 +0000
commitceabf8cab99b8a7aacfdcae0086e40b04dd11eca (patch)
tree885d9c04c06601d10e7ece5992f2cda4d6916f4a
parent6bdcad66e4c5e20fd59256c576feaf8920a4ab0f (diff)
downloadpostgresql-ceabf8cab99b8a7aacfdcae0086e40b04dd11eca.tar.gz
postgresql-ceabf8cab99b8a7aacfdcae0086e40b04dd11eca.zip
Make it entirely possible for PORTNAME to be undefined
-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 6860d3df05c..b743ac688ce 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