fish: relax ncurses dependency constraints (#18796)
This commit is contained in:
parent
fcb4dfc307
commit
36e9c1eba3
@ -23,7 +23,7 @@ class Fish(CMakePackage):
|
|||||||
|
|
||||||
# https://github.com/fish-shell/fish-shell#dependencies-1
|
# https://github.com/fish-shell/fish-shell#dependencies-1
|
||||||
depends_on('cmake@3.2:', type='build')
|
depends_on('cmake@3.2:', type='build')
|
||||||
depends_on('ncurses~termlib')
|
depends_on('ncurses')
|
||||||
depends_on('pcre2@10.21:')
|
depends_on('pcre2@10.21:')
|
||||||
depends_on('gettext')
|
depends_on('gettext')
|
||||||
depends_on('py-sphinx', when='+docs', type='build')
|
depends_on('py-sphinx', when='+docs', type='build')
|
||||||
@ -41,6 +41,9 @@ def determine_version(cls, exe):
|
|||||||
match = re.search(r'fish, version (\S+)', output)
|
match = re.search(r'fish, version (\S+)', output)
|
||||||
return match.group(1) if match else None
|
return match.group(1) if match else None
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
env.append_flags('LDFLAGS', self.spec['ncurses'].libs.link_flags)
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
args = [
|
args = [
|
||||||
'-DBUILD_SHARED_LIBS=ON',
|
'-DBUILD_SHARED_LIBS=ON',
|
||||||
|
Loading…
Reference in New Issue
Block a user