summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-06-05 12:17:12 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2017-06-05 14:17:12 -0500
commitbaad627944c9481737befd72bb6d8884ef28a432 (patch)
tree4f2fafd2b89d2abab68e2893d7f9790f5fd6b1b2 /var
parent6b9d485e0620cf4dbc97e02cf24f87afab1a8910 (diff)
downloadspack-baad627944c9481737befd72bb6d8884ef28a432.tar.gz
spack-baad627944c9481737befd72bb6d8884ef28a432.tar.bz2
spack-baad627944c9481737befd72bb6d8884ef28a432.tar.xz
spack-baad627944c9481737befd72bb6d8884ef28a432.zip
Need to help Makefile.PL find the expat bits (#4422)
* Need to help Makefile.PL find the expat bits We need to provide Makefile.PL with a clue about where our expat bits live. We had the dependency, but I suspect that the lib was actually linking against a system version. * Use prefix.lib instead of building path myself Ditto with .include
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-parser/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/perl-xml-parser/package.py b/var/spack/repos/builtin/packages/perl-xml-parser/package.py
index 5ceb380473..23e1af9213 100644
--- a/var/spack/repos/builtin/packages/perl-xml-parser/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-parser/package.py
@@ -35,3 +35,13 @@ class PerlXmlParser(PerlPackage):
version('2.44', 'af4813fe3952362451201ced6fbce379')
depends_on('expat')
+
+ def configure_args(self):
+ args = []
+
+ p = self.spec['expat'].prefix.lib
+ args.append('EXPATLIBPATH={0}'.format(p))
+ p = self.spec['expat'].prefix.include
+ args.append('EXPATINCPATH={0}'.format(p))
+
+ return args