* [gentoo-commits] gentoo-x86 commit in dev-db/pgtap/files: pgtap-pg_config_override.patch
@ 2013-03-30 19:19 Aaron Swenson (titanofold)
0 siblings, 0 replies; only message in thread
From: Aaron Swenson (titanofold) @ 2013-03-30 19:19 UTC (permalink / raw
To: gentoo-commits
titanofold 13/03/30 19:19:20
Added: pgtap-pg_config_override.patch
Log:
PostgreSQL unit testing comes to Gentoo. Initial commit.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key D1BBFDA0)
Revision Changes Path
1.1 dev-db/pgtap/files/pgtap-pg_config_override.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgtap/files/pgtap-pg_config_override.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgtap/files/pgtap-pg_config_override.patch?rev=1.1&content-type=text/plain
Index: pgtap-pg_config_override.patch
===================================================================
diff -Naurw pgtap-0.93.0.orig/Makefile pgtap-0.93.0/Makefile
--- pgtap-0.93.0.orig/Makefile 2013-01-28 20:14:20.000000000 +0000
+++ pgtap-0.93.0/Makefile 2013-03-30 16:02:45.077880109 +0000
@@ -9,14 +9,15 @@
DOCS = doc/pgtap.mmd
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
REGRESS_OPTS = --inputdir=test --load-language=plpgsql
+ifndef PG_CONFIG
PG_CONFIG = pg_config
+endif
ifdef NO_PGXS
top_builddir = ../..
PG_CONFIG := $(top_builddir)/src/bin/pg_config/pg_config
else
# Run pg_config to get the PGXS Makefiles
-PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
endif
@@ -145,4 +146,3 @@
MultiMarkdown.pl doc/pgtap.mmd > doc/pgtap.html
./tocgen doc/pgtap.html 2> doc/toc.html
perl -MPod::Simple::XHTML -E "my \$$p = Pod::Simple::XHTML->new; \$$p->html_header_tags('<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">'); \$$p->strip_verbatim_indent(sub { (my \$$i = \$$_[0]->[0]) =~ s/\\S.*//; \$$i }); \$$p->parse_from_file('`perldoc -l pg_prove`')" > doc/pg_prove.html
-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-30 19:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-30 19:19 [gentoo-commits] gentoo-x86 commit in dev-db/pgtap/files: pgtap-pg_config_override.patch Aaron Swenson (titanofold)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox