OSDN Git Service

Make it entirely possible for PORTNAME to be undefined
authorMarc G. Fournier <scrappy@hub.org>
Wed, 17 Dec 1997 04:03:30 +0000 (04:03 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Wed, 17 Dec 1997 04:03:30 +0000 (04:03 +0000)
src/Makefile.global.in

index 6860d3d..b743ac6 100644 (file)
@@ -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