8000 Bring in changes so that PORTNAME is UNDEFINED by default, and error/… · koderP/postgres@f69b846 · GitHub
[go: up one dir, main page]

Skip to content

Commit f69b846

Browse files
committed
Bring in changes so that PORTNAME is UNDEFINED by default, and error/halt
happens if it isn't changed Disable READLINE by default
1 parent 5d90a00 commit f69b846

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.2 1996/08/20 04:10:35 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile,v 1.3.2.3 1996/10/25 09:23:42 scrappy Exp $
1111
#
1212
# NOTES
1313
# objdir - location of the objects and generated files (eg. obj)
@@ -26,6 +26,11 @@ ETAGS = etags
2626
XARGS = xargs
2727

2828
.DEFAULT all:
29+
@if test $(PORTNAME) = UNDEFINED; then \
30+
echo You must set the PORTNAME value in Makefile.global before ;\
31+
echo you can build Postgres. ;\
32+
false ;\
33+
fi
2934
$(MAKE) -C backend $@
3035
$(MAKE) -C libpq $@
3136
ifeq ($(USE_TCL), true)

src/Makefile.global

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.10 1996/10/11 03:06:28 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.11 1996/10/25 09:23:41 scrappy Exp $
1111
#
1212
# NOTES
1313
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -60,7 +60,7 @@
6060
# make sure that you have no whitespaces after the PORTNAME setting
6161
# or the makefiles can get confused
6262
#
63-
PORTNAME= BSD44_derived
63+
PORTNAME= UNDEFINED
6464

6565
# SRCDIR specifies where the source files are.
6666
SRCDIR= /home/tools/postgres95-1.02/src

0 commit comments

Comments
 (0)
0