From d414d302f67a3f2cbce69bb15c55dc53ce351425 Mon Sep 17 00:00:00 2001 From: healther Date: Fri, 30 Mar 2018 21:58:08 +0200 Subject: [PATCH] Fix log4cxx dependencies (#7570) * Add ignore_conflicts to package activation includes: * with_dependency flag for do_activate * ignore_conflicts flag for do_activate * start of cleanup of activate cmd * ensure that apr is picked up * Update package.py * add apr explicitly as dependency * remove unnecessary newlines * Update package.py fixing dependencies --- var/spack/repos/builtin/packages/log4cxx/package.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/log4cxx/package.py b/var/spack/repos/builtin/packages/log4cxx/package.py index ac7be7f4a2..f3372b3542 100644 --- a/var/spack/repos/builtin/packages/log4cxx/package.py +++ b/var/spack/repos/builtin/packages/log4cxx/package.py @@ -33,8 +33,9 @@ class Log4cxx(AutotoolsPackage): version('0.10.0', 'b30ffb8da3665178e68940ff7a61084c') - depends_on('libxml2') depends_on('apr-util') + depends_on('apr') + depends_on('zip') build_directory = 'spack-build' @@ -43,8 +44,6 @@ class Log4cxx(AutotoolsPackage): patch('log4cxx-0.10.0-narrowing-fixes-from-upstream.patch') def configure_args(self): - args = ['--disable-static', - # 'apr''s 'bin' isn't pulled (via apr-util) into build env - '--with-apr={0}'.format(self.spec['apr'].prefix)] + args = ['--disable-static'] return args