imake: add run dependency to xorg-cf-files (#21251)

This commit is contained in:
ketsubouchi 2021-01-25 16:18:06 +09:00 committed by GitHub
parent 91db8c5234
commit b2f89f8157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,4 +15,11 @@ class Imake(AutotoolsPackage, XorgPackage):
version('1.0.7', sha256='6bda266a07eb33445d513f1e3c82a61e4822ccb94d420643d58e1be5f881e5cb') version('1.0.7', sha256='6bda266a07eb33445d513f1e3c82a61e4822ccb94d420643d58e1be5f881e5cb')
depends_on('xproto') depends_on('xproto')
depends_on('xorg-cf-files', type='run')
depends_on('pkgconfig', type='build') depends_on('pkgconfig', type='build')
def configure_args(self):
args = []
cfgdir = self.spec['xorg-cf-files'].prefix.lib.X11.config
args.append('--with-config-dir={0}'.format(cfgdir))
return args