Skip to content
Snippets Groups Projects
Unverified Commit 36e9c1eb authored by Adam J. Stewart's avatar Adam J. Stewart Committed by GitHub
Browse files

fish: relax ncurses dependency constraints (#18796)

parent fcb4dfc3
Branches
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ class Fish(CMakePackage):
# https://github.com/fish-shell/fish-shell#dependencies-1
depends_on('cmake@3.2:', type='build')
depends_on('ncurses~termlib')
depends_on('ncurses')
depends_on('pcre2@10.21:')
depends_on('gettext')
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)
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):
args = [
'-DBUILD_SHARED_LIBS=ON',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment