Re: git: 96de6ae007dd - main - graphics/xpdf4: add Qt5/Qt6 flavors

From: Robert Clausecker <fuz_at_freebsd.org>
Date: Wed, 06 Nov 2024 11:57:06 UTC
Am Wed, Nov 06, 2024 at 11:10:47AM +0000 schrieb Sergey A. Osokin:
> On Wed, Nov 06, 2024 at 10:49:58AM +0000, Sergey A. Osokin wrote:
> > > > +FLAVORS=       qt5 qt6
> > > > +FLAVOR?=       ${FLAVORS:[1]}
> > > > +qt5_PKGNAMESUFFIX=
> > > > +qt6_PKGNAMESUFFIX=     -qt6
> > > > +qt5_CONFLICTS_INSTALL=  ${PORTNAME}-qt6
> > > > +qt6_CONFLICTS_INSTALL=  ${PORTNAME}
> > > 
> > > Hello,
> > > 
> > > There is a PKGBASE (and PKGNAME) collision with graphics/xpdf
> > 
> > The graphics/xpdf port by default builds graphics/xpdf4 port with
> > the package name xpdf, i.e. same as the graphics/xpdf4 does, but
> > without "4" suffix for the package name.  And the graphics/xpdf4
> > by default builds xpdf4 package without -qtX suffix.
> > 
> > For now it looks like this:
> > % pkg search ^xpdf
> > xpdf-4.05,1                    Display PDF files and convert them to other formats
> > xpdf3-3.04_13                  Display PDF files and convert them to other formats
> > xpdf4-4.05,1                   Display PDF files and convert them to other formats
> > 
> > After the update it should be like that:
> > % pkg search ^xpdf
> > xpdf-4.05_1,1                  Display PDF files and convert them to other formats
> > xpdf3-3.04_13                  Display PDF files and convert them to other formats
> > xpdf4-qt5-4.05_1,1             Display PDF files and convert them to other formats
> > xpdf4-qt6-4.05_1,1             Display PDF files and convert them to other formats
> >
> > Am I missing something there?
> 
> I mean:
> % pkg search ^xpdf
> xpdf-4.05_1,1                  Display PDF files and convert them to other formats
> xpdf3-3.04_13                  Display PDF files and convert them to other formats
> xpdf4-4.05_1,1                 Display PDF files and convert them to other formats
> xpdf4-qt6-4.05_1,1             Display PDF files and convert them to other formats

Additionally, make index reports:

Warning: Duplicate INDEX entry: xpdf-4.05_1,1
Warning: Duplicate INDEX entry: xpdf-qt6-4.05_1,1

Yours,
Robert Clausecker

-- 
()  ascii ribbon campaign - for an encoding-agnostic world
/\  - against html email  - against proprietary attachments