summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-06-27 23:04:26 -0700
committerGitHub <noreply@github.com>2022-06-28 00:04:26 -0600
commit4f203eb50f836566115f3a1d73f9b6b284d89b87 (patch)
tree022f89712539c61c53f350f18f730d4e7fafbb5e
parentf6d4000e586fda2b32e16c8552fc20f8e947e9fc (diff)
downloadspack-4f203eb50f836566115f3a1d73f9b6b284d89b87.tar.gz
spack-4f203eb50f836566115f3a1d73f9b6b284d89b87.tar.bz2
spack-4f203eb50f836566115f3a1d73f9b6b284d89b87.tar.xz
spack-4f203eb50f836566115f3a1d73f9b6b284d89b87.zip
postgresql: add command property (#31297)
-rw-r--r--var/spack/repos/builtin/packages/postgresql/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/postgresql/package.py b/var/spack/repos/builtin/packages/postgresql/package.py
index 096d04584b..2fb7748114 100644
--- a/var/spack/repos/builtin/packages/postgresql/package.py
+++ b/var/spack/repos/builtin/packages/postgresql/package.py
@@ -58,6 +58,10 @@ class Postgresql(AutotoolsPackage):
depends_on('python', when='+python')
depends_on('libxml2', when='+xml')
+ @property
+ def command(self):
+ return Exectuable(self.prefix.bin.pg_config)
+
def configure_args(self):
config_args = ["--with-openssl"]