Commit dc319eed authored by Rob Latham's avatar Rob Latham
Browse files

fragile workaround for system-installed boost

sdskeyval does not need to pass a path to boost if boost is a system
package.  Hope you told spack's packages.yaml you installed your boost
in '/usr' without a trailing slash.
parent ef7566c4
......@@ -63,9 +63,10 @@ class Sdskeyval(AutotoolsPackage):
spec = self.spec
extra_args = []
extra_args.extend([
"--with-boost-libdir="
+ spec['boost'].prefix +'/lib'])
if spec['boost'].prefix != "/usr":
extra_args.extend([
"--with-boost-libdir="
+ spec['boost'].prefix +'/lib'])
if '+bdb' in spec:
extra_args.extend([
"--with-berkeleydb="
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment