summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Lee <lee218@llnl.gov>2018-05-08 15:53:50 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2018-05-08 17:53:50 -0500
commitc12dd6135827b5dc42dc2d845df26f580e4b2f39 (patch)
treea2c7cc65192f93890bbe89ff9efa070577ac7073
parent804a7991e06d6195b5c840c72d7a2f15c7159cc9 (diff)
downloadspack-c12dd6135827b5dc42dc2d845df26f580e4b2f39.tar.gz
spack-c12dd6135827b5dc42dc2d845df26f580e4b2f39.tar.bz2
spack-c12dd6135827b5dc42dc2d845df26f580e4b2f39.tar.xz
spack-c12dd6135827b5dc42dc2d845df26f580e4b2f39.zip
intltool requires patching for newer perl versions (#8061)
-rw-r--r--var/spack/repos/builtin/packages/intltool/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intltool/package.py b/var/spack/repos/builtin/packages/intltool/package.py
index fdb94d625f..963843ca5e 100644
--- a/var/spack/repos/builtin/packages/intltool/package.py
+++ b/var/spack/repos/builtin/packages/intltool/package.py
@@ -39,6 +39,12 @@ class Intltool(AutotoolsPackage):
depends_on('perl-xml-parser', type=('build', 'run'))
depends_on('perl@5.8.1:', type=('build', 'run'))
+ # patch for "Unescaped left brace in regex is illegal here in regex"
+ # warnings witn perl 5.22 and errors with perl 5.26 and newer
+ patch('https://launchpadlibrarian.net/216052398/intltool-perl-5.22.patch',
+ sha256='ca9d6562f29f06c64150f50369a24402b7aa01a3a0dc73dce55106f3224330a1',
+ level=0)
+
def check(self):
# `make check` passes but causes `make install` to fail
pass