Skip to content

Commit ceabf8c

Browse files
committed
Make it entirely possible for PORTNAME to be undefined
1 parent 6bdcad6 commit ceabf8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Makefile.global.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.27 1997/10/30 04:46:39 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.28 1997/12/17 04:03:30 scrappy Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -286,4 +286,6 @@ ifdef PROFILE
286286
endif
287287

288288
# Globally pass PORTNAME
289-
CFLAGS+= -D$(PORTNAME)
289+
ifdef PORTNAME
290+
CFLAGS+= -D$(PORTNAME)
291+
endif

0 commit comments

Comments
 (0)