[Bug 231332] Mk/Scripts/qa.sh: Fix flavor detection for LIB_DEPENDS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 11 12:51:51 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231332

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: mat
Date: Fri Jan 11 12:50:52 UTC 2019
New revision: 489958
URL: https://svnweb.freebsd.org/changeset/ports/489958

Log:
  Fix proxydeps QA check when multiple flavor of a package are installed.

  Previously it would do this:

  $ pkg which -q -o /usr/local/lib/libphonon4qt5.so
  multimedia/phonon
  $ pkg pkg annotate -q -S multimedia/phonon flavor
  qt4
  qt5

  And that would break things in an interesting way.

  This changes makes it use the package name of the required file, which
  is unique.

  Note that this problem would probably only ever happen on a live system.
  I was not able to find a single port that would trigger this it in a
  clean environment (poudriere testport).

  PR:           231332
  Submitted by: dbn

Changes:
  head/Mk/Scripts/qa.sh

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list