aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-06-27 15:40:55 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-06-27 15:40:55 +0300
commit4635d3c527916555773a6eb128fb4a410d585d9d (patch)
tree010e24027b497c9e74401e56e4479ddfa8c70acf
parentcc06e4a1aae0858603fbb56c021e5504458d2f15 (diff)
downloadpostgresql-4635d3c527916555773a6eb128fb4a410d585d9d.tar.gz
postgresql-4635d3c527916555773a6eb128fb4a410d585d9d.zip
Remove redundant DEF_PGPORT handling
DEF_PGPORT already comes in from pg_config.h, so we don't need to pass it in again with a -D option. Apparently a leftover from the shell script conversion.
-rw-r--r--src/bin/pg_ctl/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/pg_ctl/Makefile b/src/bin/pg_ctl/Makefile
index 00fc682795a..6c1b2661233 100644
--- a/src/bin/pg_ctl/Makefile
+++ b/src/bin/pg_ctl/Makefile
@@ -16,7 +16,7 @@ subdir = src/bin/pg_ctl
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
-override CPPFLAGS := -DDEF_PGPORT=$(DEF_PGPORT) -I$(libpq_srcdir) $(CPPFLAGS)
+override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
OBJS= pg_ctl.o $(WIN32RES)
@@ -36,7 +36,3 @@ uninstall:
clean distclean maintainer-clean:
rm -f pg_ctl$(X) $(OBJS)
-
-
-# ensure that changes in DEF_PGPORT propagate into object file
-pg_ctl.o: pg_ctl.c $(top_builddir)/src/Makefile.global