maintainer-feedback requested: [Bug 271505] multimedia/gstreamer1: links to both /lib/libelf.so.2 and /usr/local/lib/libelf.so.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 May 2023 07:45:45 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 271505: multimedia/gstreamer1: links to both /lib/libelf.so.2 and
/usr/local/lib/libelf.so.1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271505



--- Description ---
Scenario:
- FreeBSD 12.4 latest
- ports latest

Result:
- multimedia/gstreamer1 depends on devel/elfutils and thereby pulls in both
/lib/libelf.so.2 and /usr/local/lib/libelf.so.1 (checked using ldd).

Expected result:
- I am not sure it is a good idea to depend on different versions of the same
library.

Proposed patch:
- Remove the dependency on devel/elfutils by adding "-D libdw=disabled" to
CONFIGURE_ARGS.

The functionality lost is probably not very important.

-- Martin