From 177283d203a6c9f4355a90ca12c0105298a23a74 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 20 Sep 2017 13:57:41 +0530 Subject: [PATCH] pcap dependency: Frameworks for libpcap do not exist The only ways to get it are via Homebrew or Macports, which install pkg-config files and/or pcap-config --- mesonbuild/dependencies/misc.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index adc4e45b1..2f0c9fc9a 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -607,19 +607,6 @@ class PcapDependency(ExternalDependency): mlog.green('YES'), '(%s)' % pcapconf) return mlog.debug('Could not find pcap-config binary, trying next.') - if DependencyMethods.EXTRAFRAMEWORK in self.methods: - if mesonlib.is_osx(): - fwdep = ExtraFrameworkDependency('pcap', False, None, self.env, - self.language, kwargs) - if fwdep.found(): - self.is_found = True - self.compile_args = fwdep.get_compile_args() - self.link_args = fwdep.get_link_args() - # FIXME: Test on macOS - #self.version = self.get_pcap_lib_version() - self.version = '2' # FIXME - return - mlog.log('Dependency', mlog.bold('pcap'), 'found:', mlog.red('NO')) def get_methods(self): if mesonlib.is_osx():