From 06a0fe9d942182327d650edcf5e2f9d6f6bbab2c Mon Sep 17 00:00:00 2001 From: darmac Date: Mon, 17 Aug 2020 06:28:38 +0800 Subject: [PATCH] util-linux: remove libintl link (#18065) --- var/spack/repos/builtin/packages/util-linux/package.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/var/spack/repos/builtin/packages/util-linux/package.py b/var/spack/repos/builtin/packages/util-linux/package.py index 93bdd8c3c6..28399f9339 100644 --- a/var/spack/repos/builtin/packages/util-linux/package.py +++ b/var/spack/repos/builtin/packages/util-linux/package.py @@ -24,22 +24,15 @@ class UtilLinux(AutotoolsPackage): depends_on('python@2.7:') depends_on('pkgconfig') - depends_on('gettext', when='+libmount') # Make it possible to disable util-linux's libuuid so that you may # reliably depend_on(`libuuid`). variant('libuuid', default=True, description='Build libuuid') - variant('libmount', default=False, description='Build libmount.so with gettext') def url_for_version(self, version): url = "https://www.kernel.org/pub/linux/utils/util-linux/v{0}/util-linux-{1}.tar.gz" return url.format(version.up_to(2), version) - def setup_build_environment(self, env): - if '+libmount' in self.spec: - env.append_flags('LDFLAGS', '-L{0} -lintl'.format( - self.spec['gettext'].prefix.lib)) - def configure_args(self): config_args = [ '--disable-use-tty-group',