@ -300,6 +300,16 @@ PROVE = @PROVE@
PG_PROVE_FLAGS = --ext= '.pl' -I $( top_srcdir) /src/test/perl/
PROVE_FLAGS = --verbose
# prepend to path if already set, else just set it
d e f i n e a d d _ t o _ p a t h
$(1) = '$(if $($(1)),$(2):$$$(1),$(2))'
e n d e f
# platform-specific environment variable to set shared library path
d e f i n e l d _ l i b r a r y _ p a t h _ v a r
$( if $ ( filter $ ( PORTNAME ) ,darwin ) ,DYLD_LIBRARY_PATH ,$ ( if $ ( filter $ ( PORTNAME ) ,aix ) ,LIBPATH ,LD_LIBRARY_PATH ) )
e n d e f
d e f i n e p r o v e _ i n s t a l l c h e c k
cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir) : $$PATH " PGPORT ='6$( DEF_PGPORT ) ' $( PROVE ) $( PG_PROVE_FLAGS ) $( PROVE_FLAGS )
e n d e f
@ -307,7 +317,7 @@ endef
d e f i n e p r o v e _ c h e c k
$( MKDIR_P ) t m p _ c h e c k / l o g
$( MAKE ) - C $( top_builddir ) DESTDIR = $( CURDIR) /tmp_check/install install >$( CURDIR) /tmp_check/log/install.log 2>& 1
cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(CURDIR)/tmp_check/install$(bindir) : $$PATH " PGPORT ='6$( DEF_PGPORT ) ' $( PROVE ) $( PG_PROVE_FLAGS ) $( PROVE_FLAGS )
cd $(srcdir) && TESTDIR='$(CURDIR)' PATH="$(CURDIR)/tmp_check/install$(bindir) : $$PATH " $( call add_to_path ,$ ( ld_library_path_var ) ,$ ( CURDIR ) /tmp_check /install $ ( libdir ) ) PGPORT ='6$( DEF_PGPORT ) ' $( PROVE ) $( PG_PROVE_FLAGS ) $( PROVE_FLAGS )
e n d e f
# Installation.