frontier-client: Add openssl and zlib directories to search path (#31212)

This commit is contained in:
haralmha 2022-06-21 18:38:24 +02:00 committed by GitHub
parent aebb601b70
commit 1a024963a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ class FrontierClient(MakefilePackage):
depends_on('pacparser') depends_on('pacparser')
depends_on('expat') depends_on('expat')
depends_on('openssl') depends_on('openssl')
depends_on('zlib')
patch('frontier-client.patch', level=0) patch('frontier-client.patch', level=0)
@ -53,7 +54,9 @@ def edit(self, spec, prefix):
def build(self, spec, prefix): def build(self, spec, prefix):
with working_dir('client'): with working_dir('client'):
make('-j1', 'dist', 'PACPARSER_DIR=' + self.spec['pacparser'].prefix, make('-j1', 'dist', 'PACPARSER_DIR=' + self.spec['pacparser'].prefix,
'EXPAT_DIR=' + self.spec['expat'].prefix) 'EXPAT_DIR=' + self.spec['expat'].prefix,
'OPENSSL_DIR=' + self.spec['openssl'].prefix,
'ZLIB_DIR=' + self.spec['zlib'].prefix)
def install(self, spec, prefix): def install(self, spec, prefix):
install_tree(join_path('client', 'dist'), prefix) install_tree(join_path('client', 'dist'), prefix)