Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2023 16:36:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273479] devel/glib20: silent grab libelf.so.1 from devel/elfutils
Message-ID:  <bug-273479-7788-6PZd7ZfvQD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273479-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273479-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273479

--- Comment #8 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
(In reply to Vladimir Druzenko from comment #7)

It does not.
gio/meson.build:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# Dependencies used by executables below
have_libelf =3D false
libelf =3D dependency('libelf', version : '>=3D 0.8.12', required : false)
if libelf.found() and get_option('libelf').allowed()
  have_libelf =3D true
else
  # This fallback is necessary on *BSD. elfutils isn't the only libelf
  # implementation, and *BSD usually includes their own libelf as a system
  # library which doesn't have a corresponding .pc file.
  libelf =3D cc.find_library('elf', required : get_option ('libelf'))
  have_libelf =3D libelf.found()
  have_libelf =3D have_libelf and cc.has_function('elf_begin', dependencies=
 :
libelf)
  have_libelf =3D have_libelf and cc.has_function('elf_getshdrstrndx',
dependencies : libelf)
  have_libelf =3D have_libelf and cc.has_function('elf_getshdrnum', depende=
ncies
: libelf)
  have_libelf =3D have_libelf and cc.has_header('libelf.h')
endif

if have_libelf
  glib_conf.set('HAVE_LIBELF', 1)
else
  libelf =3D []
endif
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273479-7788-6PZd7ZfvQD>