aboutsummaryrefslogtreecommitdiffstats
path: root/community/postgresql-bdr/postgresql-bdr-osxflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/postgresql-bdr/postgresql-bdr-osxflags.patch')
-rw-r--r--community/postgresql-bdr/postgresql-bdr-osxflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/postgresql-bdr/postgresql-bdr-osxflags.patch b/community/postgresql-bdr/postgresql-bdr-osxflags.patch
new file mode 100644
index 00000000000..fd3d9c14b5c
--- /dev/null
+++ b/community/postgresql-bdr/postgresql-bdr-osxflags.patch
@@ -0,0 +1,11 @@
+--- a/doc/src/sgml/Makefile
++++ b/doc/src/sgml/Makefile
+@@ -245,7 +245,7 @@
+ # if we try to do "make all" in a VPATH build without the explicit
+ # $(srcdir) on the postgres.sgml dependency in this rule. GNU make bug?
+ postgres.xml: $(srcdir)/postgres.sgml $(ALMOSTALLSGML)
+- $(OSX) -D. -x lower -i include-xslt-index $< >postgres.xmltmp
++ $(OSX) $(OSXFLAGS) -D. -x lower -i include-xslt-index $< >postgres.xmltmp
+ $(PERL) -p -e 's/\[(aacute|acirc|aelig|agrave|amp|aring|atilde|auml|bull|copy|eacute|egrave|gt|iacute|lt|mdash|nbsp|ntilde|oacute|ocirc|oslash|ouml|pi|quot|scaron|uuml) *\]/\&\1;/gi;' \
+ -e '$$_ .= qq{<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\n} if $$. == 1;' \
+ <postgres.xmltmp > $@