pgxs-bison-flex.patch

text/x-patch

Filename: pgxs-bison-flex.patch
Type: text/x-patch
Part: 0
Message: pgxs and bison, flex

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/makefiles/pgxs.mk 10 0
diff --git i/src/makefiles/pgxs.mk w/src/makefiles/pgxs.mk
index 7dc8742..318d5ef 100644
--- i/src/makefiles/pgxs.mk
+++ w/src/makefiles/pgxs.mk
@@ -64,6 +64,16 @@ include $(top_builddir)/src/Makefile.global
 top_srcdir = $(top_builddir)
 srcdir = .
 VPATH =
+
+# These might be set in Makefile.global, but if they were not found
+# during the build of PostgreSQL, supply default values so that users
+# of pgxs can use the variables.
+ifeq ($(BISON),)
+BISON = bison
+endif
+ifeq ($(FLEX),)
+FLEX = flex
+endif
 endif