Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2018 17:36:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231332] [patch] qa.sh: fix flavor detection for LIB_DEPENDS
Message-ID:  <bug-231332-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231332
           Summary: [patch] qa.sh: fix flavor detection for LIB_DEPENDS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: dbn@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 197060
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197060&action=
=3Dedit
qa.sh: use package name instead of port origin

qa.sh uses `pkg annotate -q -S $origin flavor` to get the flavor of file's
package.  However, if there are multiple flavors of a port origin installed
then things brake:

# pkg info -E multimedia/phonon
phonon-qt4-4.10.1
phonon-qt5-4.10.1
# pkg annotate -q -S multimedia/phonon flavor
qt4
qt5

The attached patch ensures ensures the full package name is used, instead of
the origin.

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



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