summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/postgresql/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/postgresql/package.py b/var/spack/repos/builtin/packages/postgresql/package.py
index 902d8e1258..c5e250255b 100644
--- a/var/spack/repos/builtin/packages/postgresql/package.py
+++ b/var/spack/repos/builtin/packages/postgresql/package.py
@@ -3,6 +3,8 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import os
+
from spack import *
@@ -85,7 +87,7 @@ class Postgresql(AutotoolsPackage):
return config_args
def install(self, spec, prefix):
- if '+client-only' in self.spec:
+ if '+client_only' in self.spec:
for subdir in ('bin', 'include', 'interfaces', 'pl'):
with working_dir(os.path.join('src', subdir)):
make('install')