]> granicus.if.org Git - postgresql/commitdiff
Use += not = to set makefile variables after including base makefiles.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 May 2015 00:04:42 +0000 (20:04 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 May 2015 00:04:42 +0000 (20:04 -0400)
The previous coding in hstore_plpython and ltree_plpython wiped out any
values set by the base makefiles.  This at least had the effect of running
the tests in "regression" not "contrib_regression" as expected.  These
being pretty new modules, there might be other bad effects we'd not
noticed yet.

contrib/hstore_plpython/Makefile
contrib/ltree_plpython/Makefile

index 6125ea4d2cf22d61e8191080c5058c62206b8e99..6ee434bafa80431574452b87d35dfd1c774d6ccc 100644 (file)
@@ -28,10 +28,10 @@ ifeq ($(PORTNAME), win32)
 SHLIB_LINK += ../hstore/libhstore.a $(wildcard ../../src/pl/plpython/libpython*.a) $(wildcard ../../src/pl/plpython/libplpython*.a)
 endif
 
-REGRESS_OPTS = --load-extension=hstore
+REGRESS_OPTS += --load-extension=hstore
 ifeq ($(python_majorversion),2)
 REGRESS_OPTS += --load-extension=plpythonu --load-extension=hstore_plpythonu
 endif
-EXTRA_INSTALL = contrib/hstore
+EXTRA_INSTALL += contrib/hstore
 
 include $(top_srcdir)/src/pl/plpython/regress-python3-mangle.mk
index a0c107c2c3207f56ef7dd9af63dbeb54c460f2e0..64ca1275f1cb1b9e47dda507ddc9cc50ee8ecede 100644 (file)
@@ -28,10 +28,10 @@ ifeq ($(PORTNAME), win32)
 SHLIB_LINK += $(wildcard ../../src/pl/plpython/libpython*.a)
 endif
 
-REGRESS_OPTS = --load-extension=ltree
+REGRESS_OPTS += --load-extension=ltree
 ifeq ($(python_majorversion),2)
 REGRESS_OPTS += --load-extension=plpythonu --load-extension=ltree_plpythonu
 endif
-EXTRA_INSTALL = contrib/ltree
+EXTRA_INSTALL += contrib/ltree
 
 include $(top_srcdir)/src/pl/plpython/regress-python3-mangle.mk